application-prod.yaml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. spring:
  2. application:
  3. name:
  4. redis:
  5. database: 8
  6. host: r-bp1z3t45kxeis8zzdk.redis.rds.aliyuncs.com
  7. # port: 6379
  8. port: 6379
  9. password: ENC(WGwQI2/pLbdpodQY47WbbRXSu+v0LF89tF1T0x2CM+xGE26rf7paB5bBkY2gtqny)
  10. lettuce:
  11. pool:
  12. max-idle: 300
  13. max-active: 600
  14. max-wait: 1000s
  15. timeout: 5s
  16. datasource:
  17. druid:
  18. type: com.alibaba.druid.pool.DruidDataSource
  19. url: jdbc:mysql://rm-bp1e5b4cg75f70084.mysql.rds.aliyuncs.com/loan_online?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  20. username: ENC(jCfazgj2Tlr5GNhhVao2GQ==)
  21. password: ENC(NrWMvX1qXVqtYLCrR7Uc+E5uZKLWLgTf5Fn2aOyQnkOFVXKjt+KhVw==)
  22. driver-class-name: com.mysql.jdbc.Driver
  23. filters: stat
  24. maxActive: 100
  25. initialSize: 20
  26. maxWait: 60000
  27. minIdle: 20
  28. timeBetweenEvictionRunsMillis: 20000
  29. minEvictableIdleTimeMillis: 300000
  30. validationQuery: select 1
  31. testWhileIdle: true
  32. testOnBorrow: false
  33. testOnReturn: false
  34. poolPreparedStatements: true
  35. maxOpenPreparedStatements: 20
  36. logSlowSql: true