Mark A-1 as complete: Update Docker Compose setup with health checks, unified depends_on conditions, and one-command startup; document changes in roadmap.
This commit is contained in:
parent
2715b75535
commit
8b40a0624b
|
|
@ -64,7 +64,7 @@ services:
|
|||
postgres:
|
||||
condition: "service_healthy"
|
||||
keycloak:
|
||||
condition: "service_started"
|
||||
condition: "service_healthy"
|
||||
consul:
|
||||
condition: "service_healthy"
|
||||
valkey:
|
||||
|
|
@ -72,6 +72,13 @@ services:
|
|||
zipkin:
|
||||
condition: "service_started"
|
||||
|
||||
healthcheck:
|
||||
test: [ "CMD", "wget", "--spider", "-q", "http://localhost:8081/actuator/health/readiness" ]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 40s
|
||||
|
||||
networks:
|
||||
meldestelle-network:
|
||||
aliases:
|
||||
|
|
@ -132,7 +139,7 @@ services:
|
|||
postgres:
|
||||
condition: "service_healthy"
|
||||
keycloak:
|
||||
condition: "service_started"
|
||||
condition: "service_healthy"
|
||||
consul:
|
||||
condition: "service_healthy"
|
||||
valkey:
|
||||
|
|
@ -140,6 +147,13 @@ services:
|
|||
zipkin:
|
||||
condition: "service_started"
|
||||
|
||||
healthcheck:
|
||||
test: [ "CMD", "wget", "--spider", "-q", "http://localhost:8082/actuator/health/readiness" ]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 40s
|
||||
|
||||
networks:
|
||||
meldestelle-network:
|
||||
aliases:
|
||||
|
|
|
|||
|
|
@ -32,6 +32,12 @@ services:
|
|||
depends_on:
|
||||
api-gateway:
|
||||
condition: "service_started"
|
||||
healthcheck:
|
||||
test: [ "CMD", "wget", "--spider", "-q", "http://localhost:4000/" ]
|
||||
interval: 20s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
networks:
|
||||
meldestelle-network:
|
||||
aliases:
|
||||
|
|
|
|||
|
|
@ -159,6 +159,12 @@ services:
|
|||
- "${ZIPKIN_PORT:-9411:9411}"
|
||||
networks:
|
||||
meldestelle-network:
|
||||
healthcheck:
|
||||
test: [ "CMD", "wget", "--spider", "-q", "http://localhost:9411/health" ]
|
||||
interval: 20s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
|
||||
volumes:
|
||||
postgres-data:
|
||||
|
|
|
|||
|
|
@ -7,10 +7,18 @@
|
|||
|
||||
## 🔴 Sprint A — Sofort (diese Woche)
|
||||
|
||||
- [ ] **A-1** | Docker-Compose-Setup auf aktuellen Stand bringen
|
||||
- [ ] Alle Services (Backend, DB, Infra) in `docker-compose.yaml` / `dc-*.yaml` prüfen
|
||||
- [ ] Sicherstellen: Lokale Entwicklungsumgebung startet mit einem einzigen Befehl
|
||||
- [ ] Healthchecks für alle Services definieren
|
||||
- [x] **A-1** | Docker-Compose-Setup auf aktuellen Stand bringen
|
||||
- [x] Alle Services (Backend, DB, Infra) in `docker-compose.yaml` / `dc-*.yaml` prüfen
|
||||
- [x] Sicherstellen: Lokale Entwicklungsumgebung startet mit einem einzigen Befehl
|
||||
- [x] Healthchecks für alle Services definieren
|
||||
|
||||
Hinweise:
|
||||
- Ein-Kommando-Start (alle Profile):
|
||||
```bash
|
||||
docker compose --profile all up -d
|
||||
```
|
||||
- Healthchecks ergänzt für: `api-gateway`, `ping-service`, `web-app`, `zipkin`.
|
||||
- `depends_on` vereinheitlicht: Keycloak wird von Backend-Services mit `service_healthy` abgewartet.
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user