chore: 修改健康检查命令

This commit is contained in:
tbphp
2025-07-15 15:13:41 +08:00
parent af3061ad44
commit 06525f3857

View File

@@ -17,7 +17,7 @@ services:
redis:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:${PORT:-3001}/health"]
test: wget -q --spider -T 10 -O /dev/null http://localhost:${PORT:-3001}/health
interval: 30s
timeout: 10s
retries: 3