fix: change health check statement to fix unhealthy issue for docker … (#1515)

This commit is contained in:
majinghe
2026-01-15 11:29:45 +08:00
committed by GitHub
parent 6a63fba5c2
commit 1e683f12ef
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ services:
[
"CMD",
"sh", "-c",
"curl -f http://localhost:9000/health && curl -f http://localhost:9001/rustfs/console/health"
"curl -f http://127.0.0.1:9000/health && curl -f http://127.0.0.1:9001/rustfs/console/health"
]
interval: 30s
timeout: 10s
@@ -99,7 +99,7 @@ services:
[
"CMD",
"sh", "-c",
"curl -f http://localhost:9000/health && curl -f http://localhost:9001/rustfs/console/health"
"curl -f http://127.0.0.1:9000/health && curl -f http://127.0.0.1:9001/rustfs/console/health"
]
interval: 30s
timeout: 10s