mirror of https://gitee.com/anolis/sysom.git
36 lines
721 B
YAML
36 lines
721 B
YAML
vars:
|
|
SERVICE_NAME: &SERVICE_NAME sysom_knowledge
|
|
SERVICE_CONSUMER_GROUP:
|
|
!concat &SERVICE_CONSUMER_GROUP [*SERVICE_NAME, "_consumer_group"]
|
|
|
|
sysom_server:
|
|
cec:
|
|
consumer_group: *SERVICE_CONSUMER_GROUP
|
|
|
|
sysom_service:
|
|
service_name: *SERVICE_NAME
|
|
service_dir: *SERVICE_NAME
|
|
protocol: http
|
|
host: 127.0.0.1
|
|
bind: 127.0.0.1
|
|
port: 7015
|
|
framework:
|
|
gcache:
|
|
protocol: redis
|
|
node_dispatch:
|
|
cmg:
|
|
tags:
|
|
- knowledge
|
|
- FastApi
|
|
# Metadata of service
|
|
metadata:
|
|
check:
|
|
type: http
|
|
url: "/api/v1/knowledge/health/check"
|
|
interval: 10
|
|
timeout: 10
|
|
deregister: 25
|
|
header:
|
|
tls_skip_verify: false
|
|
|