docs: 记录Git多远程配置和CI/CD信息
Some checks failed
continuous-integration/drone/push Build is failing

- origin → GitHub (源代码主仓库)
- cicd → Gitea (CI/CD触发仓库)
- 添加部署流程说明
This commit is contained in:
111
2026-01-27 10:12:24 +08:00
parent 76e9348bd0
commit e446cef1cd

View File

@@ -104,6 +104,34 @@
- **端口**: 3306 - **端口**: 3306
- **数据库**: kaopeilian - **数据库**: kaopeilian
### Git 仓库配置
| Remote | 地址 | 用途 |
|--------|------|------|
| `origin` | github.com/nongjun/ai-development-workspace | 源代码主仓库 |
| `cicd` | git.ai.ireborn.com.cn/admin/012-kaopeilian | CI/CD 触发仓库 |
**服务器路径**: `/root/aiedu`
**使用方式**:
```bash
# 常规开发(推送到 GitHub
git push origin main
# 触发 CI/CD 部署
git push cicd main # 生产环境6个租户
git push cicd test # 测试环境kpl.ireborn.com.cn
```
### CI/CD 配置
| 分支 | 环境 | 域名 | 动作 |
|------|------|------|------|
| `test` | 测试环境 | https://kpl.ireborn.com.cn | 重建 dev 容器 |
| `main` | 生产环境 | 6个租户域名 | 前端编译 + 后端重建 |
**生产租户**: hua, yy, hl, xy, fw, ex
## 六、文件访问边界 ## 六、文件访问边界
| 区域 | 读取 | 写入 | | 区域 | 读取 | 写入 |