new structure seems to be in working order
This commit is contained in:
parent
9d9eed1633
commit
e371d2c43b
|
@ -13,6 +13,7 @@ services:
|
|||
- ./docker/provision/mysql/init:/docker-entrypoint-initdb.d
|
||||
volumes:
|
||||
db:
|
||||
external: true
|
||||
networks:
|
||||
default:
|
||||
name: nginx-proxy
|
||||
|
|
|
@ -1,7 +1,20 @@
|
|||
services:
|
||||
redis:
|
||||
image: redis:alpine
|
||||
container_name: redis-dbcache
|
||||
restart: unless-stopped
|
||||
db:
|
||||
image: mysql:latest
|
||||
restart: always
|
||||
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${DBPASS}
|
||||
- MYSQL_PASSWORD=${DBPASS}
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=root
|
||||
nextcloud:
|
||||
depends_on:
|
||||
- db
|
||||
image: lscr.io/linuxserver/nextcloud:latest
|
||||
container_name: nextcloud
|
||||
environment:
|
||||
|
@ -16,11 +29,13 @@ services:
|
|||
REDIS_HOST: redis
|
||||
LETSENCRYPT_HOST: nextcloud.${DOMAIN}
|
||||
LETSENCRYPT_EMAIL: ${EMAIL}
|
||||
# LETSENCRYPT_TEST: true
|
||||
LETSENCRYPT_TEST: true
|
||||
volumes:
|
||||
- ${CONFIG_LOCATION}/nextcloud:/config
|
||||
- ${DATA_LOCATION}/Cloud/Nextcloud:/data
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
db:
|
||||
networks:
|
||||
default:
|
||||
name: nginx-proxy
|
||||
|
|
|
@ -1,4 +1,14 @@
|
|||
services:
|
||||
db:
|
||||
image: mysql:8.0
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_DATABASE: clocktower
|
||||
MYSQL_USER: root
|
||||
MYSQL_PASSWORD: ${DBPASS}
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: '1'
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
wordpress-botc:
|
||||
depends_on:
|
||||
- db
|
||||
|
@ -9,13 +19,15 @@ services:
|
|||
WORDPRESS_DB_USER: root
|
||||
WORDPRESS_DB_PASSWORD: ${DBPASS}
|
||||
WORDPRESS_DB_NAME: clocktower
|
||||
VIRTUAL_HOST: "botc.${DOMAIN}, *.phillybotc.com"
|
||||
LETSENCRYPT_HOST: "botc.${DOMAIN}, *.phillybotc.com"
|
||||
VIRTUAL_HOST: "botc.${DOMAIN}, *.phillybotc.com, phillybotc.com"
|
||||
LETSENCRYPT_HOST: "botc.${DOMAIN}, *.phillybotc.com, phillybotc.com"
|
||||
LETSENCRYPT_EMAIL: ${EMAIL}
|
||||
LETSENCRYPT_TEST: true
|
||||
volumes:
|
||||
- wordpress-botc:/var/www/html
|
||||
volumes:
|
||||
wordpress-botc:
|
||||
db:
|
||||
networks:
|
||||
default:
|
||||
name: nginx-proxy
|
||||
|
|
Loading…
Reference in New Issue
Block a user