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