feat: healthy.检测

This commit is contained in:
Tim
2025-09-29 19:42:54 +08:00
parent 3d5cee6e68
commit 73790d1992

View File

@@ -143,13 +143,6 @@ services:
command: >
sh -c "apt-get update && apt-get install -y --no-install-recommends curl &&
mvn clean spring-boot:run -Dmaven.test.skip=true"
# healthcheck:
# test: ["CMD-SHELL",
# "curl -fsS http://127.0.0.1:${SERVER_PORT:-8080}${SPRING_HEALTH_PATH:-/actuator/health} | grep -q '\"status\"\\s*:\\s*\"UP\"'"]
# interval: 10s
# timeout: 5s
# retries: 30
# start_period: 90s
networks:
- openisle-network
@@ -173,13 +166,6 @@ services:
command: >
sh -c "apt-get update && apt-get install -y --no-install-recommends curl &&
mvn clean spring-boot:run -Dmaven.test.skip=true"
# healthcheck:
# test: ["CMD-SHELL",
# "curl -fsS http://127.0.0.1:${WEBSOCKET_PORT:-8082}${WS_HEALTH_PATH:-/actuator/health} | grep -q '\"status\"\\s*:\\s*\"UP\"'"]
# interval: 10s
# timeout: 5s
# retries: 30
# start_period: 90s
networks:
- openisle-network