代码拉取完成,页面将自动刷新
server:
port: 8101
datasource:
type: com.alibaba.druid.pool.DruidDataSource
readSize: 2
writedatasource:
url: jdbc:mysql://10.10.20.100:3306/blife?useUnicode=true&characterEncoding=utf8&useSSL=false
driverClass: com.mysql.jdbc.Driver
username: root
password: root
initialSize: 1
minIdle: 1
maxActive: 20
testOnBorrow: true
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
validationQuery: SELECT 1 FROM DUAL
testWhileIdle: true
testOnReturn: false
poolPreparedStatements: true
maxPoolPreparedStatementPerConnectionSize: 20
filters: stat,wall,logback
#connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
useGlobalDataSourceStat: true
mybatis:
mapper-locations: classpath:mapper/*.xml
type-aliases-package: com.blife.model
readdatasource01:
url: jdbc:mysql://10.10.20.100:3306/blife_read01?useUnicode=true&characterEncoding=utf8&useSSL=false
driverClass: com.mysql.jdbc.Driver
username: root
password: root
initialSize: 1
minIdle: 1
maxActive: 20
testOnBorrow: true
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
validationQuery: SELECT 1 FROM DUAL
testWhileIdle: true
testOnReturn: false
poolPreparedStatements: true
maxPoolPreparedStatementPerConnectionSize: 20
filters: stat,wall,logback
#connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
useGlobalDataSourceStat: true
readdatasource02:
url: jdbc:mysql://10.10.20.100:3306/blife_read02?useUnicode=true&characterEncoding=utf8&useSSL=false
driverClass: com.mysql.jdbc.Driver
username: root
password: root
initialSize: 1
minIdle: 1
maxActive: 20
testOnBorrow: true
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
validationQuery: SELECT 1 FROM DUAL
testWhileIdle: true
testOnReturn: false
poolPreparedStatements: true
maxPoolPreparedStatementPerConnectionSize: 20
filters: stat,wall,logback
#connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
useGlobalDataSourceStat: true
#mybatis-plus:
# mapper-locations: classpath:mapper/*.xml
# typeAliasesPackage: com.blife.sys.model
# global-config:
# id-type: 2
# field-strategy: 2
# auto-set-db-type: true
# db-column-underline: true
# refresh-mapper: true
# configuration:
# map-underscore-to-camel-case: true
# cache-enabled: false
spring:
redis:
database: 1
host: redis
port: 6379
pool:
max-active: 8
max-wait: -1
max-idle: 3
min-idle: 1
timeout: 0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。