application-local.yml 927 B

123456789101112131415161718192021222324252627282930313233343536
  1. server:
  2. port: 8088
  3. spring:
  4. datasource:
  5. url: jdbc:mysql://localhost:3306/prod_test?autoReconnect=true&useUnicode=true&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
  6. username: root
  7. password: 914851221
  8. initialSize: 10 #初始化连接数D
  9. minIdle: 10 #最小空闲连接数
  10. max-active: 100 #最大连接数
  11. maxWait: 60000 #最大等待时间ms(获取不到连接后多久超时)
  12. hikari:
  13. minimum-idle: 5
  14. maximum-pool-size: 200
  15. connection-timeout: 30000
  16. idle-timeout: 600000
  17. max-lifetime: 1800000
  18. dfs:
  19. path: /opt/dfs
  20. domain: /dfs
  21. advice:
  22. file:
  23. tmp: tmp
  24. #系统配置
  25. system:
  26. login:
  27. error-limit:
  28. lock-time: 30 #登录错误达到限制次数账号锁定时间(单位:分钟),默认30分钟