Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat#38] Github Action workflow 분리 및 mysql db production 적용 #43

Merged
merged 3 commits into from
Feb 17, 2024

Conversation

FacerAin
Copy link
Collaborator

🔗 Linked Issue

resolved: #38 #42

🛠 개발 기능

  • workflow 분리 (deploy, check)
  • production 환경을 위한 mysql 파일 분리

🧩 해결 방법

  • docker-compose를 활용한 production용 mysql 배포

🔍 리뷰 포인트

  • docker-compose.yml에서 보안 이슈가 없을지 확인 부탁드려요! (DB PW 노출 등)


📋 Code Review Priority Guideline

  • 🚨 P1: Request Change
    • 필수 반영: 꼭 반영해주시고, 적극적으로 고려해주세요 (수용 혹은 토론).
  • 💬 P2: Comment
    • 권장 반영: 웬만하면 반영해주세요.
  • 👍 P3: Approve
    • 선택 반영: 반영해도 좋고 넘어가도 좋습니다. 그냥 사소한 의견입니다.

@FacerAin FacerAin added this to the Sprint 3 milestone Feb 17, 2024
@FacerAin FacerAin self-assigned this Feb 17, 2024
Copy link
Collaborator

@Starlight258 Starlight258 left a comment

Choose a reason for hiding this comment

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

고생많으셨습니다 👍

@@ -1,7 +1,7 @@
version: '3.7'
services:
db:
image: mysql:5.7
image: mysql:8-oracle
Copy link
Collaborator

Choose a reason for hiding this comment

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

arm 아키텍처도 지원되는 이미지로 수정해주셔서 감사해요!!
제 노트북에서도 잘 작동하네요 😄

Comment on lines +6 to +10
environment:
MYSQL_DATABASE: '{MYSQL_DATABASE}'
MYSQL_USER: '${MYSQL_USER}'
MYSQL_PASSWORD: '${MYSQL_PASSWORD}'
MYSQL_ROOT_PASSWORD: '${MYSQL_ROOT_PASSWORD}'
Copy link
Collaborator

Choose a reason for hiding this comment

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

환경변수 사용해서 설정값 분리 잘 하셨습니다!! 💯 보안상 이슈는 없어보여요! 👏

@FacerAin FacerAin merged commit b6998a5 into dev Feb 17, 2024
1 check passed
@Starlight258 Starlight258 deleted the feat/deploy branch March 18, 2024 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants