application-prod.yml 2.9 KB

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