ensure monitoring stack starts before all other services

This commit is contained in:
2026-03-22 22:55:42 +01:00
parent 926766346c
commit b5c5c11114
3 changed files with 8 additions and 0 deletions

View File

@@ -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: