[8주차] 임성현/[feat] Docker Compose & CI/CD#337
Open
sky-0131 wants to merge 4 commits into
Hidden character warning
The head ref may contain hidden characters: "\uc784\uc131\ud604/8\uc8fc\ucc28"
Open
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.
1. 과제 요구사항 중 구현한 내용
docker-compose.yml 만들기. (MySQL 이미지 + Dockerfile 빌드 이미지)
Dockerfile 만들기.
GitHub Actions CI/CD을 나눠 구성,
application.yaml을 GitHub Actions Secret에서 관리.
2. 핵심 변경 사항
Dockerfile: 컨테이너 환경에서 Spring Boot를 실행할 수 있도록 구성.
docker-compose.yml: MySQL 데이터베이스와 Spring Boot 애플리케이션을 연동, 컨테이너 환경에서 함께 실행할 수 있도록 통합 구성.
Github Secrets에서 application.yml를 관리.
.github/workflows/ci.yml, .github/workflows/cd.yml 파일을 생성, Github Actions 기반 자동화 환경 구축.
Docker Hub와 연동.
Docker 이미지를 자동으로 Build와 Push 설정.
3. 실행 및 검증 결과
4. 완료 사항
-Docker 환경 설정.
-Docker Compose 설치 및 세팅.
-Github Actions CI/CD 자동화 환경 세팅.
-Github Secrets 설정.
5. 추가 사항
#310
제출 체크리스트
{이름}/main브랜치다{이름}/{숫자}주차브랜치다