feat: Add backend health check
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user