Open
Conversation
- proxy_pass 대상을 ${WAS_HOST} 환경변수로 주입
- HTTPS 리다이렉트만 수행하는 블록에서 Gzip, 보안 헤더, body size 제한 제거
- NCP Container Registry 로그인/태그/푸시 → GHCR 로그인 + buildx --push 통합 - IMAGE_PREFIX 환경변수로 이미지 경로 통합 관리 - packages: write 권한 추가
- deploy_frontend + deploy_backend 병렬 실행 - AWS 인스턴스별 독립 배포 - 자체 Redis Private IP - GHCR PAT 기반 EC2 이미지 pull - 인스턴스별 독립 Health Check
4 tasks
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
davidpro08
requested changes
Mar 5, 2026
davidpro08
approved these changes
Mar 6, 2026
.github/workflows/deploy.yml
Outdated
| HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" http://127.0.0.1/api/health || true) | ||
| if [ "$HTTP_CODE" -eq 200 ] || [ "$HTTP_CODE" -eq 301 ] || [ "$HTTP_CODE" -eq 302 ]; then | ||
| echo "Health Check Passed! (HTTP $HTTP_CODE)" | ||
| HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" http://127.0.0.1:3000/api/health || true) |
Collaborator
There was a problem hiding this comment.
나머지 3000번 포트도 얼핏 보이는데, 바꿀 수 있으면 바꾸는 게 좋을 것 같습니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 관련 이슈
✅ 작업 내용
이미지 레지스트리 전환 (NCP → GHCR)
docker buildx build --push통합GITHUB_TOKEN기반 인증으로 별도 Secret 불필요IMAGE_PREFIX환경변수로 이미지 경로 통합 관리packages: write권한 추가배포 Job 인스턴스별 분리
deploy_to_server(NCP 단일 서버) →deploy_frontend+deploy_backend병렬 실행docker-compose.webserver.yml기반 Nginx + 프론트엔드 배포docker-compose.was.yml기반 NestJS 백엔드 배포💬 참고 사항
read: package) 시크릿의 경우 90일의 만료 기한으로 설정했습니다. 90일 간격으로 업데이트가 필요합니다.