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 - nextcloud:/var/www/html
env_file: env_file:
- db.env - db.env
depends_on:
- db
- redis
cron: cron:
build: ./app build: ./app
@ -45,6 +48,9 @@ services:
sleep 15m sleep 15m
done done
EOF' EOF'
depends_on:
- db
- redis
volumes: volumes:
db: db:

View File

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

View File

@ -21,6 +21,8 @@ services:
- nextcloud:/var/www/html - nextcloud:/var/www/html
env_file: env_file:
- db.env - db.env
depends_on:
- db
volumes: volumes:
db: db:

View File

@ -19,6 +19,8 @@ services:
- nextcloud:/var/www/html - nextcloud:/var/www/html
env_file: env_file:
- db.env - db.env
depends_on:
- db
web: web:
build: ./web build: ./web
@ -27,6 +29,8 @@ services:
- 8080:80 - 8080:80
volumes: volumes:
- nextcloud:/var/www/html:ro - nextcloud:/var/www/html:ro
depends_on:
- app
volumes: volumes:
db: db:

View File

@ -18,6 +18,8 @@ services:
- nextcloud:/var/www/html - nextcloud:/var/www/html
env_file: env_file:
- db.env - db.env
depends_on:
- db
volumes: volumes:
db: db:

View File

@ -16,6 +16,8 @@ services:
- nextcloud:/var/www/html - nextcloud:/var/www/html
env_file: env_file:
- db.env - db.env
depends_on:
- db
web: web:
build: ./web build: ./web
@ -24,6 +26,8 @@ services:
- 8080:80 - 8080:80
volumes: volumes:
- nextcloud:/var/www/html:ro - nextcloud:/var/www/html:ro
depends_on:
- app
volumes: volumes:
db: db: