IDE/STS

[STS] spring Boot profile 설정

antoroong 2025. 2. 15. 00:01

Boot Dashboard로가면

워크스페이스마다 run할 수 있는 서버가 보일 것이다

마우스 오른쪽 클릭후

open config 클릭

 

 

 

profile에 값을 입력 (그 값은 application.yml에 설정해둔 on-profile을 따르면 된다)

 

 

application.yml 의 on-profile 참고