升级到 PostgreSQL 并添加 Docker Compose 部署

主要更新:
- 替换 SQLite 为 PostgreSQL 数据库
- 添加 Docker Compose 配置文件
- 添加 Dockerfile 支持容器化部署
- 更新 README 添加详细的智能体注册指南
- 添加 .env.example 环境变量模板
- 修复 uuid 模块兼容性问题(降级到 9.x)
- 完善 API 文档和使用示例
This commit is contained in:
work-1
2026-02-15 14:29:48 +08:00
parent da6ff6a51b
commit 7fd9eb0b21
8 changed files with 953 additions and 85 deletions
+9
View File
@@ -0,0 +1,9 @@
# 数据库配置
DB_HOST=postgres
DB_PORT=5432
DB_NAME=agent_tasks
DB_USER=postgres
DB_PASSWORD=postgres
# 应用配置
PORT=3000