Files
cid/config.yml
2025-12-06 15:24:30 +08:00

47 lines
1.6 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
server:
address : ":3004"
name: "cidService"
jwt:
secret: "abcdefghijklmnopqrstuvwxyz"
rate:
limit: 200
burst: 300
# 租户限流配置
tenantRateLimit:
enabled: true # 是否启用租户限流
requestsPerHour: 3600 # 每小时最大请求数
window: 3600 # 时间窗口(秒)
burst: 100 # 突发请求数
mongo:
logger:
level: "all"
stdout: true
address: "mongodb://192.168.3.200:27017/cid_service?retryWrites=true"
redis:
# 集群模式配置方法
default:
address: 192.168.3.200:6379
db: 0
idleTimeout: "60s" #连接最大空闲时间使用时间字符串例如30s/1m/1d
maxConnLifetime: "90s" #连接最长存活时间使用时间字符串例如30s/1m/1d
waitTimeout: "60s" #等待连接池连接的超时时间使用时间字符串例如30s/1m/1d
dialTimeout: "30s" #TCP连接的超时时间使用时间字符串例如30s/1m/1d
readTimeout: "30s" #TCP的Read操作超时时间使用时间字符串例如30s/1m/1d
writeTimeout: "30s" #TCP的Write操作超时时间使用时间字符串例如30s/1m/1d
maxActive: 100
consul:
address: 192.168.3.200:8500
# pass: jiahui8888
rabbitMQ:
host: 192.168.3.200
port: 5672
username: guest # 默认用户名
password: guest # 默认密码
jaeger: #链路追踪
addr: 192.168.3.200:4318
# RAGFlow 智能客服配置
ragflow:
base_url: "http://192.168.3.200:9380" # RAGFlow 服务地址
api_key: "ragflow-your-api-key-here" # RAGFlow API Key登录 RAGFlow 管理界面 -> 设置 -> API Keys