12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- #数据源配置
- spring:
- cloud.discovery.client.simple:
- # 配置system服务「system-service」的ip和端口
- instances:
- system-service:
- - uri: http://127.0.0.1:6161
- redis:
- host: 127.0.0.1
- port: 6379
- password: Platomix@123.o0
- database: 0
- ssl: false
- datasource:
- dynamic:
- druid:
- #初始化大小,最小,最大
- initial-size: 10
- min-idle: 5
- max-active: 20
- #获取连接等待超时的时间
- max-wait: 60000
- test-on-borrow: false
- test-on-return: false
- test-while-idle: true
- validation-query: select 1
- validation-query-timeout: 2000
- #查询超时和事务超时
- query-timeout: 6000
- transaction-query-timeout: 6000
- #间隔多久进行一次检测,检测需要关闭的空闲连接
- time-between-eviction-runs-millis: 60000
- #一个连接在池中的最小生存时间
- min-evictable-idle-time-millis: 300000
- stat-view-servlet:
- enabled: false
- web-stat-filter:
- enabled: false
- filters: stat
- #设置默认的数据源或者数据源组,默认值即为master
- primary: master
- datasource:
- master:
- url: jdbc:mysql://127.0.0.1:3306/digital_operation?useSSL=false&useUnicode=true&characterEncoding=utf-8&autoReconnect=true
- username: root
- password: Platomix@321
- #blade配置
- blade:
- #本地文件上传
- file:
- uploadCube: /mnt/webapp/uploads/cube/
- domain: http://jhbi.nucarf.tech
-
- xxl:
- job:
- ### xxl-job, access token
- accessToken: platomix_token
- admin:
- addresses: http://127.0.0.1:6969/xxl-job-admin
- executor:
- ### xxl-job executor address
- appname: platomix-bi
- groupid: 1 #对应appname的id值
- ip: ''
- port: 6971
- ### xxl-job log retention days
- logretentiondays: 30
- ### xxl-job log path
- logpath: /mnt/webapp/xxl-job/jobhandler
|