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