Add networks and fix typo
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user