hpds_control_center/config/config.yaml

48 lines
884 B
YAML

name: control_center
host: 0.0.0.0
port: 8088
mode: dev
logging:
path: ./logs
prefix: hpds-control
errorFileSuffix: error.log
warnFileSuffix: warn.log
infoFileSuffix: info.log
debugFileSuffix: debug.log
maxSize: 100
maxBackups: 3000
maxAge: 30
development: true
consul:
host: http://consul.hpds.cc
port: 80
interval: 300
timeout: 5
deregister: 1
db:
conn: root:123456@tcp(127.0.0.1:3306)/hpds_jky?charset=utf8mb4
drive_name: mysql
cache:
host: 127.0.0.1
port: 6379
db: 0
pool_size: 10
minio:
protocol: http
endpoint: 127.0.0.1:9000
accessKeyId: root
secretAccessKey: OIxv7QptYBO3
node:
host: 114.55.236.153
port: 9188
token: 06d36c6f5705507dae778fdce90d0767
functions:
- name: task-request
dataTag: 12
mqType: 2
- name: task-response
dataTag: 14
mqType: 2
- name: task-execute
dataTag: 16
mqType: 1