-
Notifications
You must be signed in to change notification settings - Fork 1
Fix/65 CD 파이프라인 헬스 체크 오류 수정 #66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Walkthrough배포 워크플로우의 헬스 체크 URL이 Changes
Estimated code review effort1 (<30 minutes) Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🪛 YAMLlint (1.37.1).github/workflows/deploy.yml[error] 177-177: no new line character at the end of file (new-line-at-end-of-file) 🔇 Additional comments (3)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
📌 변경 사항 개요
#63 브랜치를 머지한 후, deploy.yml 워크플로우의 deploy 잡이 헬스 체크(Health Check) 단계에서 실패했습니다.
로그 확인 결과, 헬스 체크 스크립트가 curl -f http://localhost:3000을 호출하여 Next.js 컨테이너에 직접 접근하려고 시도했으나, 보안상의 이유로 3000번 포트는 외부에 노출되어 있지 않아 연결이 거부되었습니다.
📝 상세 내용
헬스 체크 경로를 실제 사용자 접근 경로와 동일하게 Nginx를 통하도록 curl -f http://localhost로 변경
🔗 관련 이슈
🖼️ 스크린샷(선택사항)
💡 참고 사항
Summary by CodeRabbit
http://localhost:3000에서http://localhost로 변경되었습니다.nextjs컨테이너 로그와 함께nginx컨테이너 로그도 출력됩니다.