Add networks and fix typo
This commit is contained in:
@@ -20,6 +20,9 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
networks:
|
||||||
|
- db
|
||||||
|
- nginx
|
||||||
|
|
||||||
nextcloud:
|
nextcloud:
|
||||||
build: ./nextcloud
|
build: ./nextcloud
|
||||||
@@ -44,6 +47,10 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
|
networks:
|
||||||
|
- db
|
||||||
|
- redis
|
||||||
|
- nginx
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
@@ -56,10 +63,14 @@ services:
|
|||||||
- db:/var/lib/mysql
|
- db:/var/lib/mysql
|
||||||
- ./db/init:/docker-entrypoint-initdb.d
|
- ./db/init:/docker-entrypoint-initdb.d
|
||||||
restart: always
|
restart: always
|
||||||
|
networks:
|
||||||
|
- db
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
restart: always
|
restart: always
|
||||||
|
networks:
|
||||||
|
- redis
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
@@ -79,6 +90,8 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- omgwtfssl-monica
|
- omgwtfssl-monica
|
||||||
- omgwtfssl-nextcloud
|
- omgwtfssl-nextcloud
|
||||||
|
networks:
|
||||||
|
- nginx
|
||||||
|
|
||||||
omgwtfssl-monica:
|
omgwtfssl-monica:
|
||||||
image: paulczar/omgwtfssl
|
image: paulczar/omgwtfssl
|
||||||
@@ -110,3 +123,8 @@ volumes:
|
|||||||
monica-data:
|
monica-data:
|
||||||
nextcloud:
|
nextcloud:
|
||||||
certs:
|
certs:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
db:
|
||||||
|
nginx:
|
||||||
|
redis:
|
||||||
|
|||||||
@@ -19,4 +19,4 @@ stdout_logfile=/dev/stdout
|
|||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
stderr_logfile_maxbytes=0
|
stderr_logfile_maxbytes=0
|
||||||
command=/cron.shv
|
command=/cron.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user