media-server-docker-compose/botc/docker-compose.yml

38 lines
899 B
YAML
Raw Normal View History

2024-04-28 01:43:53 -04:00
services:
db:
image: mysql:8.0
restart: always
environment:
MYSQL_DATABASE: clocktower
2024-05-24 14:20:19 -04:00
MYSQL_USER: wordpress
MYSQL_PASSWORD: ${DBPASS}
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
- db:/var/lib/mysql
2024-05-24 14:20:19 -04:00
wordpress:
depends_on:
- db
image: wordpress
restart: always
environment:
2024-05-24 14:20:19 -04:00
# PUID: ${UID}
# PGID: ${GID}
WORDPRESS_DB_HOST: botc-db-1
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: ${DBPASS}
WORDPRESS_DB_NAME: clocktower
2024-06-05 16:59:33 -04:00
VIRTUAL_HOST: "www.phillybotc.com, phillybotc.com"
LETSENCRYPT_HOST: "phillybotc.com, www.phillybotc.com"
LETSENCRYPT_EMAIL: ${EMAIL}
2024-06-05 16:59:33 -04:00
# LETSENCRYPT_TEST: true
volumes:
2024-06-05 16:59:33 -04:00
- ./wordpress:/var/www/html
2024-05-24 14:20:19 -04:00
- ./backup:/var/www/html/wp-content/updraft
2024-04-28 01:43:53 -04:00
volumes:
2024-05-24 14:20:19 -04:00
wordpress:
db:
2024-04-28 01:43:53 -04:00
networks:
default:
name: nginx-proxy
external: true