初始化项目

This commit is contained in:
2025-12-05 14:40:33 +08:00
parent ee44c7ec1f
commit 78d549fa4c
11 changed files with 427 additions and 0 deletions

40
config.yml Normal file
View File

@@ -0,0 +1,40 @@
server:
address : ":3002"
name: "cidService"
jwt:
secret: "abcdefghijklmnopqrstuvwxyz"
rate:
limit: 200
burst: 300
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