본문 바로가기
Spring/Spring Boot

Spring Boot Profile 설정

by YellowCow 2022. 10. 12.

Edit Configurations -> Build and run -> VM Option란에 -Dspring.profiles.active=local

 

# application.yml
spring:
  profiles:
    active: dev

 

댓글