[8주차] 김기찬/ [deploy] docker-compose.yml 생성 및 cicd.yml 작성 #142
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. 무슨 이유로 코드를 변경했나요?
EC2 서버에 mysql 이미지, Dockerfile로 만든 이미지를 포함하는 docker-compose.yml을 새로 작성하였습니다.
ci.yml, cd.yml을 작성하여 github actions와 연결하였습니다.
EC2 서버, Docker Hub 로그인 정보, application.yml등의 정보는 github actions secret에 따로 작성하였습니다
2. 어떤 위험이나 장애를 발견했나요?
3. 완료 사항
EC2 서버에 docker-compose.yml 작성
ci.yml 작성
cd.yml 작성
github actions secret에 로그인 정보 및 application.yml 저장
5. 추가 사항
close #141