fix(referral-service): 统一健康检查使用 wget
docker-compose.yml: curl -> wget (与 Dockerfile 一致) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
00e359b412
commit
b5d097214b
|
|
@ -270,7 +270,7 @@ services:
|
||||||
kafka:
|
kafka:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:3004/health"]
|
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3004/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue