|
@@ -0,0 +1,35 @@
|
|
|
+spring:
|
|
|
+ application:
|
|
|
+ name:
|
|
|
+ redis:
|
|
|
+ database: 8
|
|
|
+ host: r-bp1z3t45kxeis8zzdk.redis.rds.aliyuncs.com
|
|
|
+ # port: 6379
|
|
|
+ port: 6379
|
|
|
+ password: ENC(WGwQI2/pLbdpodQY47WbbRXSu+v0LF89tF1T0x2CM+xGE26rf7paB5bBkY2gtqny)
|
|
|
+ lettuce:
|
|
|
+ pool:
|
|
|
+ max-idle: 300
|
|
|
+ max-active: 600
|
|
|
+ max-wait: 1000s
|
|
|
+ timeout: 5s
|
|
|
+ datasource:
|
|
|
+ type: com.alibaba.druid.pool.DruidDataSource
|
|
|
+ url: jdbc:mysql://rm-bp1e5b4cg75f70084.mysql.rds.aliyuncs.com/loan_online?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
|
|
|
+ username: ENC(jCfazgj2Tlr5GNhhVao2GQ==)
|
|
|
+ password: ENC(NrWMvX1qXVqtYLCrR7Uc+E5uZKLWLgTf5Fn2aOyQnkOFVXKjt+KhVw==)
|
|
|
+ driver-class-name: com.mysql.jdbc.Driver
|
|
|
+ filters: stat
|
|
|
+ maxActive: 100
|
|
|
+ initialSize: 20
|
|
|
+ maxWait: 60000
|
|
|
+ minIdle: 20
|
|
|
+ timeBetweenEvictionRunsMillis: 20000
|
|
|
+ minEvictableIdleTimeMillis: 300000
|
|
|
+ validationQuery: select 1
|
|
|
+ testWhileIdle: true
|
|
|
+ testOnBorrow: false
|
|
|
+ testOnReturn: false
|
|
|
+ poolPreparedStatements: true
|
|
|
+ maxOpenPreparedStatements: 20
|
|
|
+ logSlowSql: true
|