application-docker.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. #数据源配置
  2. spring:
  3. cloud.discovery.client.simple:
  4. # 配置system服务「system-service」的ip和端口
  5. instances:
  6. system-service:
  7. - uri: http://gmetry-system:6161
  8. redis:
  9. host: redis
  10. port: 6379
  11. password: Platomix@redis123
  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: 10
  30. #transaction-query-timeout: 20
  31. #间隔多久进行一次检测,检测需要关闭的空闲连接
  32. time-between-eviction-runs-millis: 60000
  33. #一个连接在池中的最小生存时间
  34. min-evictable-idle-time-millis: 300000
  35. #每次检查强制验证连接有效性 https://github.com/alibaba/druid/wiki/KeepAlive_cn
  36. #keepAlive: true
  37. #2次keepAlive操作的时间间隔
  38. #keep-alive-between-time-millis: 50000
  39. filters: slf4j
  40. #设置默认的数据源或者数据源组,默认值即为master
  41. primary: master
  42. #使用严格模式查询数据源
  43. strict: true
  44. datasource:
  45. master:
  46. url: jdbc:mysql://mysql:3306/digital_operation?useSSL=false&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowPublicKeyRetrieval=true
  47. username: root
  48. password: Platomix@mysql123
  49. log:
  50. path: /dockerDir/logs/bi
  51. #blade配置
  52. blade:
  53. license:
  54. enabled: false
  55. #本地文件上传
  56. file:
  57. uploadCube: /dockerDir/uploads/cube/
  58. #清单组件数据导出目录
  59. exportComponent: /dockerDir/uploads/component/
  60. #导出大屏快照图片的PDF文件
  61. exportPdf: /dockerDir/uploads/pdf/
  62. #上传jdbc驱动jar包
  63. uploadJdbcDriverJar: /dockerDir/uploads/jdbcDriverJar/
  64. domain: https://data.mige.tv
  65. #免登录域名
  66. loginFreeDomain: ${blade.domain}
  67. #pdf导出截图域名
  68. pdfUrl: http://gmetry-pdf:6666/pdf
  69. xxl:
  70. job:
  71. ### xxl-job, access token
  72. accessToken: platomix_token
  73. admin:
  74. addresses: http://gmetry-xxljob:6969/xxl-job-admin
  75. executor:
  76. ### xxl-job executor address
  77. appname: platomix-bi
  78. groupid: 1 #对应appname的id值
  79. ip: 'gmetry-bi'
  80. port: 6970
  81. ### xxl-job log retention days
  82. logretentiondays: 30
  83. ### xxl-job log path
  84. logpath: /dockerDir/logs/bi/jobhandler
  85. upload:
  86. external:
  87. path: /dockerDir/www
  88. init:
  89. source: true
  90. edit: 0