application-local.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. server:
  2. port: 8088
  3. spring:
  4. datasource:
  5. url: jdbc:mysql://localhost:3306/item-management?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: E:\upload
  20. domain: E:\upload
  21. domainName: https://kps.scdayou.com/dfs
  22. code: E:\code
  23. domainRoot: localhost
  24. luceneDir: E:\luceneIndex
  25. advice:
  26. file:
  27. tmp: tmp
  28. #系统配置
  29. system:
  30. login:
  31. error-limit:
  32. lock-time: 30 #登录错误达到限制次数账号锁定时间(单位:分钟),默认30分钟
  33. #百度编辑器
  34. ueditor:
  35. uploadPath: ${dfs.path}
  36. urlPrefix: replaceurl #动态替换url