hpds_control_center/config/config.yaml

58 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2023-03-23 15:58:12 +08:00
name: control_center
host: 0.0.0.0
port: 8088
mode: dev
2023-06-17 09:39:13 +08:00
tmpTrainDir: ./tmp
trainScriptPath: ./scripts/runTrainScript.sh
modelOutPath: ./out
2023-03-23 15:58:12 +08:00
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:
2023-05-18 10:59:35 +08:00
conn: root:OIxv7QptYBO3@tcp(192.168.53.10:3306)/diagnosis?charset=utf8mb4
2023-03-23 15:58:12 +08:00
drive_name: mysql
cache:
host: 127.0.0.1
port: 6379
db: 0
pool_size: 10
minio:
protocol: http
2023-05-18 10:59:35 +08:00
endpoint: 192.168.53.10:9000
2023-03-23 15:58:12 +08:00
accessKeyId: root
secretAccessKey: OIxv7QptYBO3
2023-05-18 10:59:35 +08:00
bucket: diagnosis
2023-03-23 15:58:12 +08:00
node:
2023-05-18 10:59:35 +08:00
host: 192.168.53.10
port: 9188
2023-03-23 15:58:12 +08:00
token: 06d36c6f5705507dae778fdce90d0767
functions:
- name: task-request
dataTag: 12
mqType: 2
- name: task-response
2023-04-24 15:14:04 +08:00
dataTag: 24
2023-03-23 15:58:12 +08:00
mqType: 2
- name: task-execute
dataTag: 16
2023-04-24 15:14:04 +08:00
mqType: 1
- name: task-execute-log
dataTag: 26
mqType: 2
- name: task-log
dataTag: 28
2023-03-23 15:58:12 +08:00
mqType: 1