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

[BUG] docker image build시 dev profile 설정 #30

Open
1 task
mingsound21 opened this issue Jul 14, 2023 · 0 comments
Open
1 task

[BUG] docker image build시 dev profile 설정 #30

mingsound21 opened this issue Jul 14, 2023 · 0 comments
Assignees
Labels
⚠️ Bug 버그입니다. 🌎 CI/CD CI/CD 🐥 민정 🐥 담당자

Comments

@mingsound21
Copy link
Contributor

mingsound21 commented Jul 14, 2023

⚠ 버그 내용

1. docker 실행시 dev 환경에 사용되는 profile 설정 추가

  • dev 버전 도커 이미지 빌드 시 특정 profile 파일 설정

2. access denied for user 'root'@'ec2 IP 주소' using password: yes

  • 시도 1) 비밀번호 변경 후 재연결 시도 -> 여전히 같은 에러
  • 시도 2) application-dev.yml에 적힌 username을 수정하여 에러 해결

3. RedisConfig 빈 생성 실패 에러

  • application-local.yml에 redis 관련 설정이 포함 되어있다. 그러나 dev 환경 배포시 application-local.yml은 포함되지 않아 발생하는 문제였다.
  • redis는 oauth와 관련된 설정이므로, application-oauth로 redis 설정 정보를 옮겼다.
  • oauth profile은 dev 환경 배포 때 포함되는 profile이므로, dev 환경 배포시 redis 설정 파일을 읽어 RedisConfig 빈 생성에 성공하였다.
@mingsound21 mingsound21 added ⚠️ Bug 버그입니다. 🌎 CI/CD CI/CD 🐥 민정 🐥 담당자 labels Jul 14, 2023
mingsound21 added a commit to mingsound21/snack-exercise-server that referenced this issue Jul 14, 2023
mingsound21 added a commit to mingsound21/snack-exercise-server that referenced this issue Jul 14, 2023
mingsound21 added a commit to mingsound21/snack-exercise-server that referenced this issue Jul 14, 2023
mingsound21 added a commit to mingsound21/snack-exercise-server that referenced this issue Jul 14, 2023
mingsound21 added a commit that referenced this issue Jul 14, 2023
[Fix] dev-deploy 배포 파일 수정
mingsound21 added a commit to mingsound21/snack-exercise-server that referenced this issue Jul 14, 2023
mingsound21 added a commit that referenced this issue Jul 14, 2023
[Fix] dev-deploy 배포 파이프라인 수정
@mingsound21 mingsound21 self-assigned this Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️ Bug 버그입니다. 🌎 CI/CD CI/CD 🐥 민정 🐥 담당자
Projects
None yet
Development

No branches or pull requests

1 participant