added dependency to ensure correct startup/shutdown order

This commit is contained in:
bryanpedini committed 2022-04-09 14:07:15 +02:00
1 parent c64385301b
commit 1fbbd0ce96
1 file changed
+2
+2
View File
@@ -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}