Skip to content

Commit 06525f3

Browse files
committed
chore: 修改健康检查命令
1 parent af3061a commit 06525f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
redis:
1818
condition: service_healthy
1919
healthcheck:
20-
test: ["CMD", "curl", "-f", "http://localhost:${PORT:-3001}/health"]
20+
test: wget -q --spider -T 10 -O /dev/null http://localhost:${PORT:-3001}/health
2121
interval: 30s
2222
timeout: 10s
2323
retries: 3

0 commit comments

Comments
 (0)