feat: Add backend health check
This commit is contained in:
@@ -26,12 +26,12 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
networks:
|
networks:
|
||||||
- legalconsenthub-net
|
- legalconsenthub-net
|
||||||
# healthcheck:
|
healthcheck:
|
||||||
# test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:8080/actuator/health || exit 1"]
|
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:8080/actuator/health || exit 1"]
|
||||||
# interval: 30s
|
interval: 30s
|
||||||
# timeout: 10s
|
timeout: 10s
|
||||||
# retries: 3
|
retries: 3
|
||||||
# start_period: 60s
|
start_period: 60s
|
||||||
env_file:
|
env_file:
|
||||||
- .env.prod
|
- .env.prod
|
||||||
|
|
||||||
@@ -43,8 +43,6 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
keycloak:
|
keycloak:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
# backend:
|
|
||||||
# condition: service_healthy
|
|
||||||
networks:
|
networks:
|
||||||
- legalconsenthub-net
|
- legalconsenthub-net
|
||||||
env_file:
|
env_file:
|
||||||
|
|||||||
Reference in New Issue
Block a user