You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
769 B
27 lines
769 B
tag: "${CLUSTER_TAG:-voitrans-a11}" #服务集群标签,须与其余服务一致才能同集群
|
|
type: "timer"
|
|
version: 1.0
|
|
exte: #RPCX 相关配置(timer 也接 ETCD 参与集群)
|
|
Port: 7003
|
|
Addr: 127.0.0.1:7003
|
|
ETCDServers: ["${ETCD_SERVERS:-etcd:2379}"]
|
|
UpdateInterval: 5
|
|
|
|
sys:
|
|
log:
|
|
FileName: "./log/timer.log"
|
|
Loglevel: 5
|
|
MaxAgeTime: 7
|
|
IsDebug: ${LOG_DEBUG:-false}
|
|
cron: {} #定时驱动(无额外配置项)
|
|
redis: #timer 仅用 Redis
|
|
Addr: ["${REDIS_ADDR:-redis:6379}"]
|
|
Password: ${REDIS_PASSWORD:-}
|
|
DB: ${REDIS_DB:-1}
|
|
KeyPrefix: ${REDIS_KEY_PREFIX:-EAIMAR}
|
|
|
|
modules:
|
|
timer:
|
|
Doubao_Apikey: "${TIMER_DOUBAO_APIKEY:-}"
|
|
Doubao_BotId: "${TIMER_DOUBAO_BOTID:-}"
|
|
Doubao_Role: "${TIMER_DOUBAO_ROLE:-}"
|
|
|