chore: 修改健康检查命令
This commit is contained in:
@@ -17,7 +17,7 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
healthcheck:
|
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
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
Reference in New Issue
Block a user