프로파일 개발(dev), 배포(prod) 추가
application-dev.properties
# DB
spring.datasource.url=jdbc:mysql://localhost:3306/myblog?useSSL=false&characterEncoding=UTF-8&serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=비번
# Hibernate properties
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
# Hibernate ddl auto (create, create-drop, validate, update)
spring.jpa.hibernate.ddl-auto = update
application-prod.properties
아마존 DB 설정및 배포시 설정할 예정
application.properties
공통적으로 사용하는 설정과
spring.profiles.active = 상황에 맞는 설정
# Security log
logging.level.org.springframework.security = debug
## App Properties
app.jwt-secret = JWTSecretKey
app.jwt-expiration-milliseconds = 604800000
## swagger error patch
spring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER
spring.profiles.active = dev