application-pro.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. spring:
  2. datasource:
  3. driver-class-name: com.mysql.cj.jdbc.Driver
  4. type: com.alibaba.druid.pool.DruidDataSource
  5. username: push
  6. password: nzwA3HQLX5yNJh53
  7. url: jdbc:mysql://rm-2vcw922e20158115l.mysql.cn-chengdu.rds.aliyuncs.com:3306/access_control?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull
  8. druid:
  9. # 初始连接数
  10. initialSize: 5
  11. # 最小连接池数量
  12. minIdle: 10
  13. # 最大连接池数量
  14. maxActive: 20
  15. # 配置获取连接等待超时的时间
  16. maxWait: 60000
  17. data:
  18. redis:
  19. host: r-2vcqhixqvh8gwzj3by.redis.cn-chengdu.rds.aliyuncs.com
  20. password: mCFEETDwBhgB29y2
  21. port: 6379
  22. database: 13
  23. lettuce:
  24. pool:
  25. enabled: true
  26. max-active: 8
  27. max-idle: 16
  28. min-idle: 1
  29. # 日志级别
  30. logging:
  31. level:
  32. root: info
  33. # mybatis-plus 打印sql
  34. mybatis-plus:
  35. configuration:
  36. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl