application-prod.yml 1021 B

12345678910111213141516171819202122232425262728293031323334353637
  1. server:
  2. port: 8088
  3. spring:
  4. datasource:
  5. url: jdbc:mysql://localhost:1230/item-management?autoReconnect=true&useUnicode=true&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true
  6. username: root
  7. password: Dypg@1996
  8. initialSize: 10 #初始化连接数
  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. domainName: https://kps.scdayou.com/dfs
  22. code: /code
  23. #系统配置
  24. system:
  25. login:
  26. error-limit:
  27. lock-time: 30 #登录错误达到限制次数账号锁定时间(单位:分钟),默认30分钟
  28. #百度编辑器
  29. ueditor:
  30. uploadPath: ${dfs.path}
  31. urlPrefix: replaceurl #动态替换url