Skip to content

[Chore] CI/CD 환경변수 수정 및 Actuator healthcheck 추가#72

Merged
xihxxn merged 2 commits into
developfrom
cicd
May 17, 2026
Merged

[Chore] CI/CD 환경변수 수정 및 Actuator healthcheck 추가#72
xihxxn merged 2 commits into
developfrom
cicd

Conversation

@xihxxn

@xihxxn xihxxn commented May 17, 2026

Copy link
Copy Markdown
Collaborator

변경 사항

환경변수명 수정 (ci.yml, deploy.yml)

  • DB_URL, DB_USER, DB_PASSWORD → RDS_ENDPOINT, RDS_DB_NAME, RDS_USERNAME, RDS_PASSWORD
  • application.yml 변수명 변경에 맞춰 동기화

docker run 옵션 추가 (deploy.yml)

  • --restart unless-stopped: EC2 재부팅 시 컨테이너 자동 재시작
  • --health-cmd: /actuator/health로 헬스체크
  • -e 값 따옴표 처리: 특수문자 안전하게 주입

Actuator 추가 (build.gradle, application.yml, SecurityConfig.java)

  • spring-boot-starter-actuator 의존성 추가
  • /actuator/health 엔드포인트 외부 노출
  • SecurityConfig에서 /actuator/health 인증 없이 허용

@xihxxn xihxxn merged commit 43a71ea into develop May 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant