# 2025-10-17 Hyperling # Copied and modified from the example here: # https://hub.docker.com/_/wordpress ## TBDs ## # - Move env variables to env.example # - Look through other environment variables which may be useful. # - Add CPU and MEM section # - Change ports services: wp-app: image: wordpress restart: always ports: - 8080:80 environment: WORDPRESS_DB_HOST: db WORDPRESS_DB_USER: exampleuser WORDPRESS_DB_PASSWORD: examplepass WORDPRESS_DB_NAME: exampledb volumes: - wordpress:/var/www/html wp-db: image: mysql:8.0 restart: always environment: MYSQL_DATABASE: exampledb MYSQL_USER: exampleuser MYSQL_PASSWORD: examplepass MYSQL_RANDOM_ROOT_PASSWORD: '1' volumes: - db:/var/lib/mysql # TBD locate these at ../../Volumes volumes: wordpress: db: