Health Check Configuration¶
Health Check Endpoint¶
CredProxy provides a /health endpoint that returns service status.
{
"status": "healthy",
"services": {
"service1": "active",
"service2": "active"
},
"timestamp": "2025-01-15T10:30:00Z"
}
HTTP Status: 200 OK for healthy, 503 Service Unavailable for degraded.
CredProxy uses lprobe for container health checks.
Docker Health Check Configuration¶
Docker Compose¶
services:
credproxy:
build: .
healthcheck:
test: [
"CMD",
"/bin/lprobe",
"-mode=http",
"-port=1338",
"-endpoint=/health",
]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s