added dependency to ensure correct startup/shutdown order
This commit is contained in:
parent
c64385301b
commit
1fbbd0ce96
@ -5,6 +5,8 @@ services:
|
|||||||
nextcloud:
|
nextcloud:
|
||||||
image: nextcloud:${NC_VERSION}
|
image: nextcloud:${NC_VERSION}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_HOST=db
|
- MYSQL_HOST=db
|
||||||
- MYSQL_DATABASE=${NC_DATABASE_NAME}
|
- MYSQL_DATABASE=${NC_DATABASE_NAME}
|
||||||
|
Loading…
Reference in New Issue
Block a user