chore: 修改健康检查命令
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user