ensure monitoring stack starts before all other services
This commit is contained in:
@@ -3,6 +3,8 @@ services:
|
||||
image: caddy:2-alpine
|
||||
container_name: caddy
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- alloy
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
|
||||
@@ -3,6 +3,8 @@ services:
|
||||
image: gitea/gitea:1.25.5-rootless
|
||||
container_name: gitea
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- alloy
|
||||
env_file: .env
|
||||
volumes:
|
||||
- ${DATA_ROOT}/gitea/data:/var/lib/gitea
|
||||
|
||||
@@ -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