diff --git a/docker-compose.yml b/docker-compose.yml index c78847d..1122969 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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}