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:
parent
72c22b1a83
commit
01dd1a93f1
6 changed files with 26 additions and 0 deletions
|
@ -18,6 +18,8 @@ services:
|
|||
- nextcloud:/var/www/html
|
||||
env_file:
|
||||
- db.env
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
volumes:
|
||||
db:
|
||||
|
|
|
@ -16,6 +16,8 @@ services:
|
|||
- nextcloud:/var/www/html
|
||||
env_file:
|
||||
- db.env
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
web:
|
||||
build: ./web
|
||||
|
@ -24,6 +26,8 @@ services:
|
|||
- 8080:80
|
||||
volumes:
|
||||
- nextcloud:/var/www/html:ro
|
||||
depends_on:
|
||||
- app
|
||||
|
||||
volumes:
|
||||
db:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue