CommonFramework/config/application-local.properties

38 lines
1.2 KiB
Properties
Raw Normal View History

server.port=9276
server.servlet.context-path=/cmhi
# Crypto Configure
jasypt.encryptor.algorithm=PBEWITHHMACSHA512ANDAES_256
jasypt.encryptor.password=
# mysql
spring.datasource.url=jdbc:mysql://172.21.44.61:3306/gamedatabase?serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull&useUnicode=true
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username=admin
spring.datasource.password=
spring.datasource.dbcp2.max-total=128
spring.datasource.dbcp2.max-wait-millis=10000
spring.datasource.dbcp2.max-idle=32
spring.datasource.dbcp2.min-idle=8
spring.datasource.dbcp2.initial-size=8
spring.datasource.dbcp2.validation-query=SELECT 1
spring.datasource.dbcp2.test-while-idle=true
spring.datasource.dbcp2.connection-properties=characterEncoding=utf8
#mybatis
mybatis.mapper-locations=classpath*:mappers/*.xml
mybatis.type-aliases-package=com.cmhi.gds.pojo.entry
mybatis.configuration.default-enum-type-handler=com.cmhi.cf.common.CommonEnumHandler
#pagehelper
pagehelper.helper-dialect=mysql
pagehelper.reasonable=true
pagehelper.support-methods-arguments=true
pagehelper.pageSizeZero=true
pagehelper.params.count=countSql
#config log
logging.config=file:config/logback.xml
log4j.logger.org.mybatis=info