升级到 PostgreSQL 并添加 Docker Compose 部署
主要更新: - 替换 SQLite 为 PostgreSQL 数据库 - 添加 Docker Compose 配置文件 - 添加 Dockerfile 支持容器化部署 - 更新 README 添加详细的智能体注册指南 - 添加 .env.example 环境变量模板 - 修复 uuid 模块兼容性问题(降级到 9.x) - 完善 API 文档和使用示例
This commit is contained in:
+10
-7
@@ -1,19 +1,22 @@
|
||||
{
|
||||
"name": "agent-task-service",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"description": "多智能体任务管理系统",
|
||||
"main": "server-postgres.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"start": "node server-postgres.js",
|
||||
"dev": "node server-postgres.js",
|
||||
"sqlite": "node server.js"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"keywords": ["multi-agent", "task-management", "ai"],
|
||||
"author": "work-1",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"body-parser": "^2.2.2",
|
||||
"cors": "^2.8.6",
|
||||
"express": "^5.2.1",
|
||||
"pg": "^8.18.0",
|
||||
"sqlite3": "^5.1.7",
|
||||
"uuid": "^13.0.0"
|
||||
"uuid": "^9.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user