Add networks and fix typo

This commit is contained in:
2020-11-24 21:19:10 +00:00
parent db7c5c3deb
commit 64b8830cbf
2 changed files with 19 additions and 1 deletions

View File

@@ -20,6 +20,9 @@ services:
restart: always
depends_on:
- db
networks:
- db
- nginx
nextcloud:
build: ./nextcloud
@@ -44,6 +47,10 @@ services:
depends_on:
- db
- redis
networks:
- db
- redis
- nginx
db:
image: mariadb
@@ -56,10 +63,14 @@ services:
- db:/var/lib/mysql
- ./db/init:/docker-entrypoint-initdb.d
restart: always
networks:
- db
redis:
image: redis:alpine
restart: always
networks:
- redis
nginx:
image: nginx:alpine
@@ -79,6 +90,8 @@ services:
depends_on:
- omgwtfssl-monica
- omgwtfssl-nextcloud
networks:
- nginx
omgwtfssl-monica:
image: paulczar/omgwtfssl
@@ -110,3 +123,8 @@ volumes:
monica-data:
nextcloud:
certs:
networks:
db:
nginx:
redis:

View File

@@ -19,4 +19,4 @@ stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/cron.shv
command=/cron.sh