feat: add Docker Compose configuration and update README for improved setup instructions

This commit is contained in:
mlogclub
2026-05-23 22:53:33 +08:00
parent 5e0d479640
commit c5c3852a4b
4 changed files with 141 additions and 4 deletions
+73
View File
@@ -0,0 +1,73 @@
server:
port: 8083
db:
type: mysql
dsn: cs_agent:cs_agent_password@tcp(mysql:3306)/cs_ai_agent?charset=utf8mb4&parseTime=True&multiStatements=true&loc=Local
maxIdleConns: 5
maxOpenConns: 20
connMaxIdleTimeSeconds: 300
connMaxLifetimeSeconds: 1800
logger:
level: info
format: text
addSource: false
auth:
tokenTTLHours: 12
maxFailedAttempts: 5
credentialLockMinute: 15
customerSession:
secret: replace-with-a-random-secret
ttlMinutes: 120
refreshThresholdMinutes: 30
storage:
default: local
maxUploadSizeMB: 20
local:
root: /app/data/storage
baseUrl: /storage
oss:
endpoint: ""
bucket: ""
accessKeyId: ""
accessKeySecret: ""
baseUrl: ""
private: false
signedUrlExpireSeconds: 600
vectorDB:
type: qdrant
host: qdrant
grpcPort: 6334
apiKey: ""
useTls: false
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: ""
oauthRedirect: ""
stateSecret: ""
rsaPrivateKey: ""
token: ""
encodingAESKey: ""
notify:
enabled: false
toUsers: []
safe: false
enableDuplicateCheck: true
duplicateCheckInterval: 1800