Merged
Conversation
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.
✒️ 관련 이슈번호
🔑 Key Changes
앱 컨테이너 Health Check 추가
초기 앱 컨테이너가 정상적으로 실행되지 않는 문제를 해결하기 위해 Docker Compose 설정에 Health Check를 추가.
Redis 컨테이너는 redis-cli ping을 활용해 상태 확인.
depends_on 조건에 Health Check를 적용하여 앱 컨테이너가 Redis가 정상 상태일 때만 실행되도록 설정.
자동화 배포 코드 개선
GitHub Actions에서 배포 시 코드 반영이 안 되는 문제를 해결하기 위해 기존 docker-compose up -d를 docker-compose
down && docker-compose up -d로 변경.
배포 시 항상 최신 컨테이너를 실행하고 이전 컨테이너를 정리하도록 수정.
📸 Screenshot