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

appication.yml 파일 spring.config.activate.on-profile 적용 #49

Open
byeongsoon opened this issue Apr 26, 2022 · 0 comments
Open

appication.yml 파일 spring.config.activate.on-profile 적용 #49

byeongsoon opened this issue Apr 26, 2022 · 0 comments
Assignees

Comments

@byeongsoon
Copy link
Member

Spring Boot 2.4.0+ 이후부터 새롭게 등장한 spring.config.activate.on-profile를 통해서
하나의 application.yml 파일 내에서 profile 별로 설정값을 관리한다.

  • 장점
    • 중복되는 설정값을 하나로 통일할 수 있다.
    • 하나의 파일 내에서 profile 별 내용을 비교할 수 있다.
@byeongsoon byeongsoon self-assigned this Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant