0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-24 20:34:10 +02:00

Add depends_on

This commit is contained in:
Tilo Spannagel 2017-08-16 20:57:33 +02:00
parent 72c22b1a83
commit 01dd1a93f1
No known key found for this signature in database
GPG key ID: B89F1626A58E1429
6 changed files with 26 additions and 0 deletions

View file

@ -25,6 +25,9 @@ services:
- nextcloud:/var/www/html
env_file:
- db.env
depends_on:
- db
- redis
cron:
build: ./app
@ -45,6 +48,9 @@ services:
sleep 15m
done
EOF'
depends_on:
- db
- redis
volumes:
db:

View file

@ -23,6 +23,9 @@ services:
- nextcloud:/var/www/html
env_file:
- db.env
depends_on:
- db
- redis
web:
build: ./web
@ -31,6 +34,8 @@ services:
- 8080:80
volumes:
- nextcloud:/var/www/html:ro
depends_on:
- app
cron:
build: ./app
@ -51,6 +56,9 @@ services:
sleep 15m
done
EOF'
depends_on:
- db
- redis
volumes:
db: