diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 8d0cec02..050c9c77 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -169,7 +169,7 @@ jobs: id: health_check run: | set -e - URL="https://api.episode.io.kr/actuator/health" + URL="https://api.episode.io.kr/actuator/health/liveness" echo "Checking health:" for i in $(seq 1 30); do diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index a623b617..52fc3d73 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -199,7 +199,7 @@ jobs: id: health_check run: | set -e - URL="https://stage.episode.io.kr/actuator/health" + URL="https://stage.episode.io.kr/actuator/health/liveness" echo "Checking health:" for i in $(seq 1 30); do diff --git a/backend/api/src/main/resources/application.yml b/backend/api/src/main/resources/application.yml index 81da0937..dec2532e 100644 --- a/backend/api/src/main/resources/application.yml +++ b/backend/api/src/main/resources/application.yml @@ -122,6 +122,11 @@ management: include: health endpoint: health: + group: + readiness: + include: readinessState,db,redis + liveness: + include: livenessState show-details: never collaboration: