application-local.yml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. server:
  2. port: 8088
  3. spring:
  4. datasource:
  5. dynamic:
  6. primary: mbs
  7. strict: false
  8. datasource:
  9. mbs:
  10. 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
  11. driver-class-name: com.mysql.cj.jdbc.Driver
  12. username: root
  13. password: 914851221
  14. initialSize: 10 #初始化连接数D
  15. minIdle: 10 #最小空闲连接数
  16. max-active: 100 #最大连接数
  17. maxWait: 60000 #最大等待时间ms(获取不到连接后多久超时)
  18. hikari:
  19. minimum-idle: 5
  20. maximum-pool-size: 200
  21. connection-timeout: 30000
  22. idle-timeout: 600000
  23. max-lifetime: 1800000
  24. dyoa:
  25. url: jdbc:mysql://192.168.0.108:3306/dyoa?autoReconnect=true&useUnicode=true&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
  26. driver-class-name: com.mysql.cj.jdbc.Driver
  27. username: root
  28. password: 914851221
  29. initialSize: 10 #初始化连接数D
  30. minIdle: 10 #最小空闲连接数
  31. max-active: 100 #最大连接数
  32. maxWait: 60000 #最大等待时间ms(获取不到连接后多久超时)
  33. hikari:
  34. minimum-idle: 5
  35. maximum-pool-size: 200
  36. connection-timeout: 30000
  37. idle-timeout: 600000
  38. max-lifetime: 1800000
  39. dfs:
  40. path: /Users/wuwei/opt
  41. domain: /dfs
  42. domainName: https://kps.scdayou.com/dfs
  43. code: /code
  44. domainRoot: https://kps.scdayou.com/admin
  45. luceneDir: /Users/wuwei/luceneDir
  46. advice:
  47. file:
  48. tmp: tmp
  49. #系统配置
  50. system:
  51. login:
  52. error-limit:
  53. lock-time: 30 #登录错误达到限制次数账号锁定时间(单位:分钟),默认30分钟
  54. #百度编辑器
  55. ueditor:
  56. uploadPath: ${dfs.path}
  57. urlPrefix: replaceurl #动态替换url