feat: Add backend health check

This commit is contained in:
2025-12-06 09:03:09 +01:00
parent ed36db97a1
commit 8cdb6ef329

View File

@@ -26,12 +26,12 @@ services:
condition: service_healthy
networks:
- legalconsenthub-net
# healthcheck:
# test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:8080/actuator/health || exit 1"]
# interval: 30s
# timeout: 10s
# retries: 3
# start_period: 60s
healthcheck:
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:8080/actuator/health || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
env_file:
- .env.prod
@@ -43,8 +43,6 @@ services:
depends_on:
keycloak:
condition: service_healthy
# backend:
# condition: service_healthy
networks:
- legalconsenthub-net
env_file: