mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-25 04:40:55 +02:00
Add depends_on
This commit is contained in:
parent
72c22b1a83
commit
01dd1a93f1
6 changed files with 26 additions and 0 deletions
|
@ -21,6 +21,8 @@ services:
|
|||
- nextcloud:/var/www/html
|
||||
env_file:
|
||||
- db.env
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
volumes:
|
||||
db:
|
||||
|
|
|
@ -19,6 +19,8 @@ services:
|
|||
- nextcloud:/var/www/html
|
||||
env_file:
|
||||
- db.env
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
web:
|
||||
build: ./web
|
||||
|
@ -27,6 +29,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