feat: 更新 CI/CD 和文档,添加崔曦文(cxw)租户
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- .drone.yml: 添加 cxw-backend 到生产部署列表 - CONTEXT.md: 添加租户端口分配表,包含 cxw
This commit is contained in:
@@ -101,11 +101,11 @@ steps:
|
||||
script:
|
||||
- echo "=== 重建所有后端服务 ==="
|
||||
- cd /root/aiedu
|
||||
- docker-compose -f docker-compose.prod-multi.yml up -d --build --no-deps hua-backend yy-backend hl-backend xy-backend fw-backend ex-backend
|
||||
- docker-compose -f docker-compose.prod-multi.yml up -d --build --no-deps hua-backend yy-backend hl-backend xy-backend fw-backend ex-backend cxw-backend
|
||||
- sleep 10
|
||||
- docker ps | grep backend
|
||||
- echo "=== 生产环境批量更新完成 ==="
|
||||
- echo "租户列表: hua, yy, hl, xy, fw, ex"
|
||||
- echo "租户列表: hua, yy, hl, xy, fw, ex, cxw"
|
||||
|
||||
volumes:
|
||||
- name: docker-sock
|
||||
|
||||
14
CONTEXT.md
14
CONTEXT.md
@@ -130,7 +130,19 @@ git push cicd test # 测试环境(kpl.ireborn.com.cn)
|
||||
| `test` | 测试环境 | https://kpl.ireborn.com.cn | 重建 dev 容器 |
|
||||
| `main` | 生产环境 | 6个租户域名 | 前端编译 + 后端重建 |
|
||||
|
||||
**生产租户**: hua, yy, hl, xy, fw, ex
|
||||
**生产租户**: hua, yy, hl, xy, fw, ex, cxw
|
||||
|
||||
### 租户端口分配
|
||||
|
||||
| 租户 | 名称 | 域名 | 前端端口 | 后端端口 | Redis端口 |
|
||||
|------|------|------|----------|----------|-----------|
|
||||
| hua | 华尔倍丽 | hua.ireborn.com.cn | 3010 | 8010 | 6390 |
|
||||
| yy | 杨扬宠物 | yy.ireborn.com.cn | 3011 | 8011 | 6391 |
|
||||
| hl | 武汉禾丽 | hl.ireborn.com.cn | 3012 | 8012 | 6392 |
|
||||
| xy | 芯颜定制 | xy.ireborn.com.cn | 3013 | 8013 | 6393 |
|
||||
| fw | 飞沃 | fw.ireborn.com.cn | 3014 | 8014 | 6394 |
|
||||
| ex | 恩喜成都总院 | ex.ireborn.com.cn | 3015 | 8015 | 6395 |
|
||||
| cxw | 崔曦文 | cxw.ireborn.com.cn | 3016 | 8016 | 6396 |
|
||||
|
||||
## 六、文件访问边界
|
||||
|
||||
|
||||
Reference in New Issue
Block a user