Files
X-Agents/server/config/config.yaml
DESKTOP-72TV0V4\caoxiaozhu 4d4a756f4f feat: 新增文件上传服务
- 添加 UploadHandler 处理文件上传
- 添加 UploadService 实现文件存储
- 配置上传文件大小限制和存储路径

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 16:54:41 +08:00

19 lines
541 B
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.
# 本地开发配置
port: "8082"
jwt_secret: "dev-secret-key"
# Docker 内访问用 db:3306本地访问用 localhost:6036
database_url: "root:root@tcp(localhost:6036)/x_agents?charset=utf8mb4&parseTime=True&loc=Local"
python_service_url: "http://localhost:8081"
# 文件上传配置 (local 或 minio)
upload_mode: "local"
upload_local_path: "resource/files"
server_base_url: "http://localhost:8082"
# MinIO 配置
minio_endpoint: "localhost:9000"
minio_access_key: ""
minio_secret_key: ""
minio_bucket: "x-agents"
minio_use_ssl: false