fix(docker): 将健康检查端点从根路径修改为/health路径

This commit is contained in:
Wenjie Zhang 2025-08-28 23:08:04 +08:00
parent 92fe65fecf
commit 445db271b3

View File

@ -247,7 +247,7 @@ services:
ports:
- "8080:8080"
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8080/ || exit 1"]
test: ["CMD-SHELL", "curl -f http://localhost:8080/health || exit 1"]
interval: 20s
timeout: 10s
retries: 5