728x90 반응형 SMALL spring boot 외부 properties1 Spring Boot - using external yaml file (spring.config.import) spring boot 에서 application.properties 나 application.yaml 파일 이용 시 합리적인 값 재정의를 허용하도록 설계된 매우 특정한 PropertySource 순서를 사용하며 속성의 우선 순위는 아래와 같다. 1. Command line arguments. 2. JNDI attributes from java:comp/env. 3. Java System properties (System.getProperties()). 4. OS environment variables. 5. A RandomValuePropertySource that only has properties in random.*. 6. Profile-specific application properties .. 2021. 3. 2. 이전 1 다음 728x90 반응형 LIST