Edit Configurations -> Build and run -> VM Option란에 -Dspring.profiles.active=local
# application.yml
spring:
profiles:
active: dev
'Spring > Spring Boot' 카테고리의 다른 글
| [환경세팅] ③-② H2 DBMS 설치 및 환경세팅(Spring Boot 및 JPA 연동) (0) | 2022.08.14 |
|---|---|
| [환경세팅] ③-① H2 DBMS 설치 및 환경세팅(설치 및 세팅) (0) | 2022.08.14 |
| Spring Boot 버전에 맞는 Dependency 버전을 찾는 방법 (0) | 2022.08.14 |
| H2 DBMS 파일모드 사용 시 DB파일 경로 (0) | 2022.08.13 |
| [환경세팅] ② View Template Engine(Thymeleaf) 환경세팅 (0) | 2022.08.09 |
댓글