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
|
- ./docker/provision/mysql/init:/docker-entrypoint-initdb.d
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
|
external: true
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
name: nginx-proxy
|
name: nginx-proxy
|
||||||
|
|
|
@ -1,7 +1,20 @@
|
||||||
services:
|
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:
|
nextcloud:
|
||||||
depends_on:
|
|
||||||
- db
|
|
||||||
image: lscr.io/linuxserver/nextcloud:latest
|
image: lscr.io/linuxserver/nextcloud:latest
|
||||||
container_name: nextcloud
|
container_name: nextcloud
|
||||||
environment:
|
environment:
|
||||||
|
@ -16,11 +29,13 @@ services:
|
||||||
REDIS_HOST: redis
|
REDIS_HOST: redis
|
||||||
LETSENCRYPT_HOST: nextcloud.${DOMAIN}
|
LETSENCRYPT_HOST: nextcloud.${DOMAIN}
|
||||||
LETSENCRYPT_EMAIL: ${EMAIL}
|
LETSENCRYPT_EMAIL: ${EMAIL}
|
||||||
# LETSENCRYPT_TEST: true
|
LETSENCRYPT_TEST: true
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONFIG_LOCATION}/nextcloud:/config
|
- ${CONFIG_LOCATION}/nextcloud:/config
|
||||||
- ${DATA_LOCATION}/Cloud/Nextcloud:/data
|
- ${DATA_LOCATION}/Cloud/Nextcloud:/data
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
db:
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
name: nginx-proxy
|
name: nginx-proxy
|
||||||
|
|
|
@ -1,4 +1,14 @@
|
||||||
services:
|
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:
|
wordpress-botc:
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
@ -9,13 +19,15 @@ services:
|
||||||
WORDPRESS_DB_USER: root
|
WORDPRESS_DB_USER: root
|
||||||
WORDPRESS_DB_PASSWORD: ${DBPASS}
|
WORDPRESS_DB_PASSWORD: ${DBPASS}
|
||||||
WORDPRESS_DB_NAME: clocktower
|
WORDPRESS_DB_NAME: clocktower
|
||||||
VIRTUAL_HOST: "botc.${DOMAIN}, *.phillybotc.com"
|
VIRTUAL_HOST: "botc.${DOMAIN}, *.phillybotc.com, phillybotc.com"
|
||||||
LETSENCRYPT_HOST: "botc.${DOMAIN}, *.phillybotc.com"
|
LETSENCRYPT_HOST: "botc.${DOMAIN}, *.phillybotc.com, phillybotc.com"
|
||||||
LETSENCRYPT_EMAIL: ${EMAIL}
|
LETSENCRYPT_EMAIL: ${EMAIL}
|
||||||
|
LETSENCRYPT_TEST: true
|
||||||
volumes:
|
volumes:
|
||||||
- wordpress-botc:/var/www/html
|
- wordpress-botc:/var/www/html
|
||||||
volumes:
|
volumes:
|
||||||
wordpress-botc:
|
wordpress-botc:
|
||||||
|
db:
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
name: nginx-proxy
|
name: nginx-proxy
|
||||||
|
|
Loading…
Reference in New Issue
Block a user