application-niukafu.yml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. #数据源配置
  2. spring:
  3. cloud.discovery.client.simple:
  4. # 配置system服务「system-service」的ip和端口
  5. instances:
  6. system-service:
  7. - uri: http://127.0.0.1:6161
  8. redis:
  9. host: 127.0.0.1
  10. port: 6379
  11. password: Platomix@123.o0
  12. database: 0
  13. ssl: false
  14. datasource:
  15. dynamic:
  16. druid:
  17. #初始化大小,最小,最大
  18. initial-size: 10
  19. min-idle: 5
  20. max-active: 20
  21. #获取连接等待超时的时间
  22. max-wait: 60000
  23. test-on-borrow: false
  24. test-on-return: false
  25. test-while-idle: true
  26. validation-query: select 1
  27. validation-query-timeout: 2000
  28. #查询超时和事务超时
  29. query-timeout: 6000
  30. transaction-query-timeout: 6000
  31. #间隔多久进行一次检测,检测需要关闭的空闲连接
  32. time-between-eviction-runs-millis: 60000
  33. #一个连接在池中的最小生存时间
  34. min-evictable-idle-time-millis: 300000
  35. stat-view-servlet:
  36. enabled: false
  37. web-stat-filter:
  38. enabled: false
  39. filters: stat
  40. #设置默认的数据源或者数据源组,默认值即为master
  41. primary: master
  42. datasource:
  43. master:
  44. url: jdbc:mysql://127.0.0.1:3306/digital_operation?useSSL=false&useUnicode=true&characterEncoding=utf-8&autoReconnect=true
  45. username: root
  46. password: Platomix@321
  47. #blade配置
  48. blade:
  49. #本地文件上传
  50. file:
  51. uploadCube: /mnt/webapp/uploads/cube/
  52. domain: http://jhbi.nucarf.tech
  53. xxl:
  54. job:
  55. ### xxl-job, access token
  56. accessToken: platomix_token
  57. admin:
  58. addresses: http://127.0.0.1:6969/xxl-job-admin
  59. executor:
  60. ### xxl-job executor address
  61. appname: platomix-bi
  62. groupid: 1 #对应appname的id值
  63. ip: ''
  64. port: 6971
  65. ### xxl-job log retention days
  66. logretentiondays: 30
  67. ### xxl-job log path
  68. logpath: /mnt/webapp/xxl-job/jobhandler