Split application properties by environment (local, dev, prod)

This commit is contained in:
jade
2026-07-03 23:15:20 +09:00
parent 6b64c3c8cb
commit 9dc18baa72
4 changed files with 21 additions and 9 deletions

View File

@@ -1,18 +1,13 @@
spring.application.name=axhub-admin
# application.properties (?? ??, Redis ? ??)
server.port=8080
spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=password
spring.h2.console.enabled=true
# 기본적으로 local 환경을 실행
spring.profiles.active=local
# MyBatis 공통 설정
mybatis.mapper-locations=classpath:mapper/**/*.xml
mybatis.type-aliases-package=
mybatis.configuration.map-underscore-to-camel-case=true
spring.sql.init.mode=always
mybatis.configuration.map-underscore-to-camel-case=true
logging.level.com.corundumstudio.socketio=DEBUG