Files
ai-agent/docker/agent-desk.yaml
T

74 lines
1.5 KiB
YAML
Raw Normal View History

language: zh-CN
server:
port: 8083
frontendUrl: http://127.0.0.1:3000
cors:
# 浏览器跨域白名单。生产部署时改为实际前端/嵌入站点域名。
allowedOrigins:
- http://127.0.0.1:3000
- http://localhost:3000
db:
type: postgres
dsn: host=host.docker.internal user=cs_ai_agent password=cs_ai_agent_password dbname=cs_ai_agent port=5432 sslmode=disable TimeZone=Asia/Shanghai
maxIdleConns: 5
maxOpenConns: 20
connMaxIdleTimeSeconds: 300
connMaxLifetimeSeconds: 1800
logger:
level: info
format: text
addSource: false
storage:
default: local
maxUploadSizeMB: 20
local:
root: /app/data/storage
baseUrl: http://127.0.0.1:8083/storage
oss:
endpoint: ""
bucket: ""
accessKeyId: ""
accessKeySecret: ""
baseUrl: ""
private: false
signedUrlExpireSeconds: 600
vectorDB:
type: qdrant
2026-06-07 17:32:29 +08:00
qdrant:
host: qdrant
grpcPort: 6334
apiKey: ""
useTls: false
# LanceDB requires building the backend with -tags lancedb and LanceDB native libraries.
lancedb:
path: /app/data/lancedb
mcp:
enabled: true
servers:
system:
enabled: true
endpoint: "http://127.0.0.1:8083/api/mcp"
timeoutMs: 15000
headers: {}
wxWork:
enabled: false
corpId: ""
corpSecret: ""
agentId: ""
rsaPrivateKey: ""
token: ""
encodingAESKey: ""
notify:
enabled: false
toUsers: []
safe: false
enableDuplicateCheck: true
duplicateCheckInterval: 1800