diff --git a/docker-compose.v2.yml b/docker-compose.v2.yml index b8e1acd..de53fb9 100644 --- a/docker-compose.v2.yml +++ b/docker-compose.v2.yml @@ -53,11 +53,13 @@ services: - "${EDGE_BIND:-0.0.0.0}:${MINIO_PORT:-9000}:9000" - "${EDGE_BIND:-0.0.0.0}:${MINIO_CONSOLE_PORT:-9001}:9001" healthcheck: - test: ["CMD-SHELL", "mc ready local || exit 1"] + # Liveness via curl (newer images) with an mc fallback (older images that + # still bundle the client). Covers minio:latest drift either way. + test: ["CMD-SHELL", "curl -sf http://localhost:9000/minio/health/live || mc ready local || exit 1"] interval: 10s timeout: 5s - retries: 5 - start_period: 10s + retries: 8 + start_period: 20s # ── Identity Service (.NET 10) ────────────────────────────────────────────── # Config keys: ConnectionStrings:DefaultConnection Jwt:Secret