1 Star 2 Fork 1

jamen/blife-config-centor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
sys-service-dev.yml 2.53 KB
一键复制 编辑 原始数据 按行查看 历史
jamen 提交于 2017-06-16 17:27 +08:00 . 修改 报名为 com.blife
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jamen/blife-config-centor.git
git@gitee.com:jamen/blife-config-centor.git
jamen
blife-config-centor
blife-config-centor
master

搜索帮助