Skip to content

Commit f2586af

Browse files
longsizhuoclaude
andcommitted
fix: 修正 healthcheck 路径为 /actuator/health(context path 已改为 /)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent bf684b6 commit f2586af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ services:
2828
ports:
2929
- "8080:8080"
3030
healthcheck:
31-
test: ["CMD-SHELL", "curl -fsS \"http://127.0.0.1:${SERVER_PORT:-8080}/api/v1/actuator/health\" | grep '\"status\":\"UP\"' >/dev/null || exit 1"]
31+
test: ["CMD-SHELL", "curl -fsS \"http://127.0.0.1:${SERVER_PORT:-8080}/actuator/health\" | grep '\"status\":\"UP\"' >/dev/null || exit 1"]
3232
interval: 30s
3333
timeout: 5s
3434
retries: 3

0 commit comments

Comments
 (0)