fix docker networks

This commit is contained in:
Matthias Hochmeister
2026-02-27 13:47:17 +01:00
parent abd7c041f4
commit 04d4f89834

View File

@@ -12,7 +12,7 @@ services:
- postgres_data_prod:/var/lib/postgresql/data
- ./backend/src/database/migrations:/docker-entrypoint-initdb.d:ro
networks:
- feuerwehr_network
- dashboard-backend
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-prod_user} -d ${POSTGRES_DB:-feuerwehr_prod}"]
interval: 10s
@@ -47,7 +47,7 @@ services:
postgres:
condition: service_healthy
networks:
- feuerwehr_network
- dashboard-backend
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:3000/health"]
interval: 30s
@@ -78,8 +78,8 @@ services:
backend:
condition: service_healthy
networks:
- feuerwehr_network
- traefik_frontend
- frontend
- dashboard-backend
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:80"]
interval: 30s
@@ -93,8 +93,6 @@ volumes:
driver: local
networks:
feuerwehr_network:
driver: bridge
traefik_frontend:
frontend:
external: true
name: frontend
dashboard-backend: