mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-06 15:10:59 +08:00
feat: healthy.检测
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user