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

Docker, Nginx를 이용한 서버 이중화, 블루/그린 무중단 배포를 구현한다. #55

Merged
merged 2 commits into from
Feb 11, 2025

Conversation

alstn113
Copy link
Owner

@alstn113 alstn113 commented Feb 11, 2025

연관된 이슈

작업 내용

  • docker compose에서 app1, app2로 늘려서 서버를 이중화한다.
    • 인스턴스를 추가하고, 로드밸런서 달고 싶지만 사용자가 많은 것도 아니고, 돈도 많이 든다. "가난하다."
  • 무중단 배포 방식은 그대로 블루/그린으로 간다.
    • 현재 그린이고, 블루 2개가 모두 띄어지고 헬스 체크에 완료되면 전환한다. 하나라도 헬스 체크에 실패하면 롤백한다.
    • 배포 시 컨테이너 4개가 존재하게 되는데 잘 버텨질지 모르겠다.

image

@alstn113 alstn113 merged commit 31fe1b7 into main Feb 11, 2025
2 checks passed
@alstn113 alstn113 deleted the feat/#54 branch February 11, 2025 04:55
alstn113 added a commit that referenced this pull request Feb 11, 2025
* feat: app1, app2를 나누어서 2개의 컨테이너 구조로 변경

* refactor: 2개의 컨테이너일 때 블루/그린 무중단 배포 방식으로 변경
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker, Nginx를 이용한 서버 이중화, 무중단 배포 구현
1 participant