calcom: fix healthcheck path (/api/health 404 in v4.x -> /api/auth/providers)
/api/health doesn't exist in cal.com v4.x (404) -> container stayed unhealthy -> Traefik wouldn't route it. /api/auth/providers is a stable 200 once serving. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -78,7 +78,8 @@ healthcheck:
|
||||
checks:
|
||||
- type: api
|
||||
port: 3000
|
||||
path: "/api/health"
|
||||
# /api/health does not exist in cal.com v4.x (404); /api/auth/providers is a stable 200 once serving.
|
||||
path: "/api/auth/providers"
|
||||
expect:
|
||||
status: 200
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ services:
|
||||
limits:
|
||||
memory: 768M
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000/api/health"]
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000/api/auth/providers"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user