diff --git a/docker-compose.yml b/docker-compose.yml index 90371ef..b442d02 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: diff --git a/nextcloud/supervisord.conf b/nextcloud/supervisord.conf index 0fe583f..4f76259 100644 --- a/nextcloud/supervisord.conf +++ b/nextcloud/supervisord.conf @@ -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