fix(docker): use HEAD probe so SSE heartbeat doesn't time out healthcheck (#1182)

This commit is contained in:
Bennett Tai 2026-04-29 13:58:17 +08:00 • committed by GitHub
parent 0b34f5f636
commit 220b3a4e0e

View file

@ -19,7 +19,7 @@ services:
- ${WORKSPACE_DIR:-./workspace}:/workspace:ro
restart: unless-stopped
healthcheck:
test: ['CMD', 'curl', '-fsS', 'http://localhost:4747/api/heartbeat']
test: ['CMD', 'curl', '-fsSI', 'http://localhost:4747/api/heartbeat']
interval: 30s
timeout: 5s
retries: 3