more nonsense

This commit is contained in:
Brodin 2024-05-24 14:20:19 -04:00
parent 21dd9bfb67
commit d2dd2a1e05
3 changed files with 10 additions and 6 deletions

1
botc/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
backup/*

View File

@ -4,19 +4,21 @@ services:
restart: always restart: always
environment: environment:
MYSQL_DATABASE: clocktower MYSQL_DATABASE: clocktower
MYSQL_USER: root MYSQL_USER: wordpress
MYSQL_PASSWORD: ${DBPASS} MYSQL_PASSWORD: ${DBPASS}
MYSQL_RANDOM_ROOT_PASSWORD: '1' MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes: volumes:
- db:/var/lib/mysql - db:/var/lib/mysql
wordpress-botc: wordpress:
depends_on: depends_on:
- db - db
image: wordpress image: wordpress
restart: always restart: always
environment: environment:
WORDPRESS_DB_HOST: db # PUID: ${UID}
WORDPRESS_DB_USER: root # PGID: ${GID}
WORDPRESS_DB_HOST: botc-db-1
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: ${DBPASS} WORDPRESS_DB_PASSWORD: ${DBPASS}
WORDPRESS_DB_NAME: clocktower WORDPRESS_DB_NAME: clocktower
VIRTUAL_HOST: "botc.${DOMAIN}, *.phillybotc.com, phillybotc.com" VIRTUAL_HOST: "botc.${DOMAIN}, *.phillybotc.com, phillybotc.com"
@ -24,9 +26,10 @@ services:
LETSENCRYPT_EMAIL: ${EMAIL} LETSENCRYPT_EMAIL: ${EMAIL}
LETSENCRYPT_TEST: true LETSENCRYPT_TEST: true
volumes: volumes:
- wordpress-botc:/var/www/html - wordpress:/var/www/html
- ./backup:/var/www/html/wp-content/updraft
volumes: volumes:
wordpress-botc: wordpress:
db: db:
networks: networks:
default: default: