Docker 部署
快速开始
bash
git clone https://github.com/LittleXiaYuan/Tori.git
cd yunque-agent
cp .env.example .env
# 编辑 .env 填入 LLM_API_KEY轻量模式(SQLite)
无外部依赖,适合个人使用。
bash
docker compose --profile lite up -d全栈模式(PostgreSQL + pgvector)
生产环境部署,持久化存储和向量搜索。
bash
docker compose --profile full up -d自定义 Docker 构建
bash
docker build -t yunque-agent .
docker run -d \
--name yunque-agent \
-p 9090:9090 \
-v ./data:/app/data \
-e LLM_API_KEY=your-key \
yunque-agent