|
@@ -1,63 +0,0 @@
|
|
-server.port = 8081
|
|
|
|
-
|
|
|
|
-# ����Դ1
|
|
|
|
-#spring.datasource.druid.one.url=jdbc:mysql://127.0.0.1/apimngr?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC&useSSL=true
|
|
|
|
-#spring.datasource.druid.one.username=root
|
|
|
|
-#spring.datasource.druid.one.password=123456
|
|
|
|
-#spring.datasource.druid.one.driver-class-name=com.mysql.jdbc.Driver
|
|
|
|
-
|
|
|
|
-# ����Դ2
|
|
|
|
-
|
|
|
|
-spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
|
|
|
-
|
|
|
|
-spring.datasource.url=jdbc:mysql://127.0.0.1/apimngr?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC&useSSL=false
|
|
|
|
-spring.datasource.username=root
|
|
|
|
-spring.datasource.password=Platomix&6815
|
|
|
|
-spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
|
|
-spring.datasource.max-idle=10
|
|
|
|
-spring.datasource.max-wait=10000
|
|
|
|
-spring.datasource.min-idle=5
|
|
|
|
-spring.datasource.initial-size=5
|
|
|
|
-
|
|
|
|
-# mybatis ����
|
|
|
|
-mybatis.mapper-locations=classpath:/mapper/*Mapper.xml
|
|
|
|
-mybatis.type-aliases-package=com.ff.apimngr.entity
|
|
|
|
-
|
|
|
|
-#druid ����
|
|
|
|
-spring.datasource.initialSize=5
|
|
|
|
-spring.datasource.minIdle=5
|
|
|
|
-spring.datasource.maxActive=20
|
|
|
|
-spring.datasource.maxWait=60000
|
|
|
|
-spring.datasource.timeBetweenEvictionRunsMillis=60000
|
|
|
|
-spring.datasource.minEvictableIdleTimeMillis=30000
|
|
|
|
-spring.datasource.validationQuery=select 'x'
|
|
|
|
-spring.datasource.testWhileIdle=true
|
|
|
|
-spring.datasource.testOnBorrow=false
|
|
|
|
-spring.datasource.testOnReturn=false
|
|
|
|
-spring.datasource.poolPreparedStatements=true
|
|
|
|
-spring.datasource.maxPoolPreparedStatementPerConnectionSize=20
|
|
|
|
-spring.datasource.filters=stat,wall,slf4j
|
|
|
|
-spring.datasource.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
|
|
|
|
-spring.datasource.useGlobalDataSourceStat=true
|
|
|
|
-
|
|
|
|
-spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
|
|
|
|
-spring.jackson.time-zone=GMT+8
|
|
|
|
-
|
|
|
|
-spring.servlet.multipart.max-file-size=10MB
|
|
|
|
-spring.servlet.multipart.max-request-size=100MB
|
|
|
|
-
|
|
|
|
-#mybatis log
|
|
|
|
-logging.level.com.ff.apimngr.dao=debug
|
|
|
|
-
|
|
|
|
-## Redis ����
|
|
|
|
-spring.redis.host=127.0.0.1
|
|
|
|
-spring.redis.port=6379
|
|
|
|
-spring.redis.password=
|
|
|
|
-spring.redis.timeout=10000
|
|
|
|
-spring.redis.database=0
|
|
|
|
-spring.redis.lettuce.pool.max-active=8
|
|
|
|
-spring.redis.lettuce.pool.max-wait=-1
|
|
|
|
-spring.redis.lettuce.pool.max-idle=8
|
|
|
|
-spring.redis.lettuce.pool.min-idle=0
|
|
|
|
-
|
|
|
|
-api.domain=http://cgi.platomix.net
|
|
|