application-test.yml 840 B

12345678910111213141516171819202122232425262728293031323334353637
  1. spring:
  2. datasource:
  3. dynamic:
  4. druid:
  5. initial-size: 2
  6. max-active: 20
  7. min-idle: 2
  8. primary: master
  9. datasource:
  10. master:
  11. driver-class-name: com.mysql.cj.jdbc.Driver
  12. url: jdbc:mysql://10.10.10.221:3306/freight?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull
  13. username: freight
  14. password: freight
  15. data:
  16. redis:
  17. host: 10.10.10.221
  18. password: test
  19. port: 6379
  20. database: 13
  21. lettuce:
  22. pool:
  23. enabled: true
  24. max-active: 8
  25. max-idle: 16
  26. min-idle: 1
  27. # 日志级别
  28. logging:
  29. level:
  30. root: debug
  31. # mybatis-plus 打印sql
  32. mybatis-plus:
  33. configuration:
  34. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl