-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
- configure the health check for each service
- exemptions: scv2_webgui, scv2_services_processing (legacy, deprecated)
- apigateway must depend on each health-check service being healthy
Example of what a healthcheck will look like within the docker-compose.yml for a given service:
healthcheck:
test: ["CMD-SHELL","curl -fsS http://localhost:8080/health || exit 1"]
interval: 10s
timeout: 2s
retries: 3
start_period: 10s
Example of how the apigateway depends_on will look:
depends_on:
service1:
condition: service_healthy
service2:
condition: service_healthy
service3:
condition: service_healthy
Metadata
Metadata
Assignees
Labels
No labels