密钥与备份
将 server/.env 视为密钥文件。备份持久卷时同时验证恢复流程,不要把未加密密钥提交到仓库。
Quick start
准备 Git、Docker Desktop,或安装了 Docker Compose v2 插件的 Docker Engine。首次启动还需要能够访问你选择的模型服务商。
获取公开仓库源码
运行初始化脚本生成本地密钥
启动 API、工作台与存储服务
在浏览器完成首次设置
git clone https://github.com/daizhongming/YiQiao.git
cd YiQiao
./scripts/init.sh
cd server
docker compose up -d
git clone https://github.com/daizhongming/YiQiao.git
Set-Location YiQiao
powershell -ExecutionPolicy Bypass -File .\scripts\init.ps1
Set-Location server
docker compose up -d
Operate with control
将 server/.env 视为密钥文件。备份持久卷时同时验证恢复流程,不要把未加密密钥提交到仓库。
升级前阅读版本说明并完成备份,再拉取新版本与镜像。不要跳过数据库和图存储的兼容检查。
默认端口仅绑定回环地址。远程访问应使用 TLS 反向代理或私有网络,不要直接暴露数据库服务。