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] Docker compose 에서 application.yaml 볼륨 지정 #75

Open
JuneParkCode opened this issue Jul 26, 2024 · 0 comments
Open

[Feat] Docker compose 에서 application.yaml 볼륨 지정 #75

JuneParkCode opened this issue Jul 26, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@JuneParkCode
Copy link
Collaborator

기능

  • application.yaml 을 유동적으로 변경할 수 있도록 변경하기

Why?

  • 현재 environment variable 을 참고하여 application.yaml 이 완성되도록 되어있는 형태입니다.
  • 다만 key 값과 같은 부분은 environment variable 만으로 부족할 수 있습니다. (예를 들어, 여러 키를 더 추가한다거나 하는 경우)
  • 또한 추가로 빌드 이후에 추가할 설정이 있을 수도 있습니다.
  • 이런 경우를 대비해서 application.yaml 파일을 볼륨을 통해서 연결하여 주입할 수 있도록 하는 것이 더 바람직해 보입니다.

Todo

  • spring application.yaml 우선순위 이해
  • spring application.yaml 외부 경로 위치 어디로 지정해야하는지 이해
  • docker compose 파일 수정
@JuneParkCode JuneParkCode added the enhancement New feature or request label Jul 26, 2024
@JuneParkCode JuneParkCode self-assigned this Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant