BFF 로그인 API 연동 및 JWT 기반 Authorization 처리 : cicd : 도커 컨테이너 가동 시 env파일 …#11
Conversation
|
Caution Review failedThe pull request is closed. Walkthrough배포 워크플로에 원격 서버에 .env.production 파일을 생성하는 단계가 추가되었고, 해당 파일을 Docker 컨테이너 실행 시 --env-file 옵션으로 사용하도록 스크립트가 수정되었습니다. 이미지 풀, 기존 컨테이너 제거, 포트 매핑 등 나머지 동작은 동일합니다. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Developer
participant GH as GitHub Actions
participant Runner as Self-Hosted/Runner
participant Server as Target Server
participant Docker as Docker Engine
Dev->>GH: Push / Dispatch
GH->>Runner: 실행 워크플로 트리거
Runner->>Server: SSH 접속
Note over Server: 배포 스크립트 실행
Runner->>Server: echo "$ENV_PRODUCTION" > .env.production
Runner->>Server: docker pull <image:tag>
Runner->>Server: docker rm -f <container> (존재 시)
Runner->>Docker: docker run --env-file .env.production -p <host:container> <image:tag>
Docker-->>Runner: 컨테이너 시작됨
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
…주입 #4
Summary by CodeRabbit