fix: use curl for production health checks

This commit is contained in:
hajimi
2026-08-02 12:28:42 +08:00
parent 8235d07690
commit 451198ba35
+3 -3
View File
@@ -91,7 +91,7 @@ services:
healthcheck:
test:
- CMD-SHELL
- wget -qO- http://127.0.0.1:8000/healthz | grep -q '^ok$'
- curl -fsS http://127.0.0.1:8000/healthz | grep -q '^ok$'
interval: 15s
timeout: 5s
retries: 5
@@ -112,7 +112,7 @@ services:
healthcheck:
test:
- CMD-SHELL
- wget -qO- http://127.0.0.1:5176/healthz | grep -q '^ok$'
- curl -fsS http://127.0.0.1:5176/healthz | grep -q '^ok$'
interval: 15s
timeout: 5s
retries: 5
@@ -133,7 +133,7 @@ services:
healthcheck:
test:
- CMD-SHELL
- wget -qO- http://127.0.0.1:5177/healthz | grep -q '^ok$'
- curl -fsS http://127.0.0.1:5177/healthz | grep -q '^ok$'
interval: 15s
timeout: 5s
retries: 5