ensure monitoring stack starts before all other services
This commit is contained in:
@@ -57,6 +57,8 @@ services:
|
||||
image: postgres:17-alpine
|
||||
container_name: nextcloud-postgres
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- alloy
|
||||
env_file: .env
|
||||
volumes:
|
||||
- ${DATA_ROOT}/nextcloud/db:/var/lib/postgresql/data
|
||||
@@ -77,6 +79,8 @@ services:
|
||||
image: redis:8-alpine
|
||||
container_name: nextcloud-redis
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- alloy
|
||||
command: redis-server --requirepass ${REDIS_PASSWORD}
|
||||
env_file: .env
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user