Skip to content

Feat: Docker를 활용한 Blue-Green 배포 인프라 구성#40

Merged
so1eeee merged 12 commits intodevelopfrom
feat/#39-docker-blue-green-infra
May 31, 2025
Merged

Feat: Docker를 활용한 Blue-Green 배포 인프라 구성#40
so1eeee merged 12 commits intodevelopfrom
feat/#39-docker-blue-green-infra

Conversation

@so1eeee
Copy link
Contributor

@so1eeee so1eeee commented May 30, 2025

#️⃣연관된 이슈

resolved #39

📝작업 내용

  • Dockerfile 작성 및 Spring Boot JAR 실행 환경 구성
  • Blue/Green 환경 분리를 위한 docker-compose.blue.yml, docker-compose.green.yml 추가
  • Nginx 프록시 설정 및 트래픽 전환 구조 설계
  • 배포(deploy.sh), 롤백(rollback.sh) 자동화 스크립트 구현
  • Nginx 주석 처리 방식으로 트래픽 전환 로직 통일
  • CI/CD, appspec.yml 등 배포 연동 파일 경로 및 훅 수정

🔎코드 설명 및 참고 사항

  • EC2, Docker, Nginx 환경에서 Blue-Green 배포가 자동화되도록 인프라 구성
  • health check 및 트래픽 전환이 스크립트로 자동 처리됨
  • Nginx는 weight 없이 주석 처리 방식으로 트래픽 전환

💬리뷰 요구사항

@so1eeee so1eeee self-assigned this May 30, 2025
@so1eeee so1eeee added the ✨ Feature Add features label May 30, 2025
@so1eeee so1eeee merged commit f1c7796 into develop May 31, 2025
1 check passed
@so1eeee so1eeee deleted the feat/#39-docker-blue-green-infra branch May 31, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature Add features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feat: Docker를 활용한 Blue-Green 배포 인프라 구성

1 participant