Skip to content

Conversation

@kseysh
Copy link
Member

@kseysh kseysh commented Mar 14, 2025

📝 PR Summary

dev 환경을 docker를 이용한 무중단 배포 방식으로 변경합니다

🌴 Works

  • dev 환경을 docker를 이용한 무중단 배포 방식으로 변경

🌱 Related Issue

closed #491

🌵 PR 참고사항

  • 기존 prod 환경에서 사용하던 app_dev 스키마를 app_prod로 변경하고, prod 환경에서 app_prod를 바라볼 수 있도록 변경했습니다.
  • RDS에 app_dev를 새로 생성하고, 기존 ec2 내부에 있던 데이터를 DMS를 사용하여 중단 없이 마이그레이션 진행했습니다.
  • 데이터 확인 절차도 거쳤습니다.
  • 기존 dev환경에서 관리하던 yml 파일인 secrets.APPLICATION_LOCAL_YML을 secrets.APPLICATION_DEV_YML로 변경하였습니다.
  • 기존 prod환경에서 관리하던 yml 파일인 secrets.APPLICATION_YML을 secrets.APPLICATION_PROD_YML로 변경하였습니다.
  • 기존 test용 yml로 사용되던 secrets.APPLICATION_LOCAL_YML 파일을 secrets.APPLICATION_TEST_YML로 변경하였습니다.
  • github secret에 DOCKER_COMPOSE_DEV_YML를 추가하였습니다.
    • deploy.sh에서 실행되는 deploy_container.sh 파일에서 사용됩니다.
  • github secret에 ECR_APP_NAME과 ECR_HOST를 추가하였습니다.
  • github secret 값은 노션에 작성해두었어요!
  • 일단 prod 환경의 안정성을 위해 dev만 docker를 이용한 무중단 배포 방식으로 변경했습니다.
    • prod 환경은 차차 변경하면 좋을 것 같아요

@kseysh kseysh added the 🚀 Deploy 배포 관련 label Mar 14, 2025
@kseysh kseysh self-assigned this Mar 14, 2025
@height
Copy link

height bot commented Mar 14, 2025

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

Copy link
Contributor

@geniusYoo geniusYoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니다 고생 많으셨습니다 ! :)

@kseysh kseysh merged commit 321d309 into dev Mar 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DEPLOY] dev, prod 환경 도커를 이용한 무중단 배포로 변경

2 participants