修改健康检查方式

This commit is contained in:
zk
2026-05-22 20:30:42 +08:00
parent 1191f85150
commit 3a1ba04ca5
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ services:
- APP_VERSION=blue
- TZ=Asia/Shanghai
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost/"]
test: ["CMD", "curl", "-f", "http://localhost:80/"]
interval: 30s
timeout: 10s
retries: 3
@@ -50,7 +50,7 @@ services:
- APP_VERSION=green
- TZ=Asia/Shanghai
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost/"]
test: ["CMD", "curl", "-f", "http://localhost:80/"]
interval: 30s
timeout: 10s
retries: 3