docs: 补充公网部署确认清单

This commit is contained in:
meijiali
2026-07-03 18:30:09 +08:00
parent 2dc8ca1b5b
commit b70b840551
4 changed files with 83 additions and 2 deletions
+25
View File
@@ -197,6 +197,31 @@ docker compose up -d --build
curl -f http://localhost:8000/health
```
### 公网云服务器部署
公网部署前先确认部署方式、访问密码、是否允许消耗真实 TikHub 和 AI Key。未经确认不要直接开放公网。
如果确认使用云服务器 Docker Compose,步骤与本地类似:
```bash
git pull
cp .env.example .env
docker compose up -d --build
curl -f http://127.0.0.1:8000/health
```
公网演示建议先初始化脱敏 Demo 数据:
```bash
docker compose exec app python -m app.demo_seed
```
如果页面出现数据库不可用提示,系统会尽量把 SQLite 文件备份到:
```text
data/corrupt-backups
```
## 9. 推荐提交节奏
`docs/MVP-WorkOrders.md` 的工单推进: