Skip to content
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

[BE] 프로덕션 서버에 무중단 배포를 적용해요 :) #412

Open
3 tasks done
hw0603 opened this issue Oct 16, 2024 · 0 comments · May be fixed by #413
Open
3 tasks done

[BE] 프로덕션 서버에 무중단 배포를 적용해요 :) #412

hw0603 opened this issue Oct 16, 2024 · 0 comments · May be fixed by #413
Assignees
Labels
⚙️ 환경설정 환경을 설정해요 :) 🐈‍⬛ 백엔드 백엔드 관련 이슈에요 :) 🐳 인프라 인프라를 구축해요 :)

Comments

@hw0603
Copy link
Member

hw0603 commented Oct 16, 2024

이슈 요약

프로덕션 서버(prod-a, prod-b)에 무중단 배포를 적용합니다.
nginx와 docker 컨테이너를 활용한 Blue/Green 전략을 사용하며, 인스턴스 내에서 컨테이너 두 개를 실행하고, 새로운 컨테이너에 이상이 없다면 proxy_pass를 전환시킨 후 기존 컨테이너를 종료하는 형태로 동작합니다.

상세 작업 내용

  • (시큐리티 모듈) 무중단 배포 스크립트 작성
  • (시큐리티 모듈) docker-compose 컨테이너 이름 수정
  • Github Action 워크플로우에서 무중단 배포 스크립트를 실행하도록 변경
@hw0603 hw0603 added 🐈‍⬛ 백엔드 백엔드 관련 이슈에요 :) ⚙️ 환경설정 환경을 설정해요 :) 🐳 인프라 인프라를 구축해요 :) labels Oct 16, 2024
@hw0603 hw0603 added this to the 6차(최종) 데모데이 milestone Oct 16, 2024
@hw0603 hw0603 self-assigned this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙️ 환경설정 환경을 설정해요 :) 🐈‍⬛ 백엔드 백엔드 관련 이슈에요 :) 🐳 인프라 인프라를 구축해요 :)
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant