Skip to content

[fix] CD 파이프라인 헬스 체크 오류 #65

@LeeCh0129

Description

@LeeCh0129

📝 설명

#63 브랜치를 머지한 후, deploy.yml 워크플로우의 deploy 잡이 헬스 체크(Health Check) 단계에서 실패했습니다.

로그 확인 결과, 헬스 체크 스크립트가 curl -f http://localhost:3000을 호출하여 Next.js 컨테이너에 직접 접근하려고 시도했으나, 보안상의 이유로 3000번 포트는 외부에 노출되어 있지 않아 연결이 거부되었습니다.

✅ 작업 내용

  • 헬스 체크 경로를 실제 사용자 접근 경로와 동일하게 Nginx를 통하도록 수정

📎 참고사항

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions