From 11ce1c3c0c113c613277524ce7bcf26fba0a869c Mon Sep 17 00:00:00 2001 From: syadmin Date: Sat, 21 Nov 2026 11:46:14 +0800 Subject: [PATCH] =?UTF-8?q?docs(deploy):=20=E5=8F=8C=E5=8C=BA=E5=85=A5?= =?UTF-8?q?=E5=8F=A3=E6=9B=B4=E6=96=B0=E4=B8=BA=E5=9F=9F=E5=90=8D=20kb/kbt?= =?UTF-8?q?=20=E5=B9=B6=E6=B3=A8=E8=AE=B0=E8=AF=81=E4=B9=A6=E4=B8=8E?= =?UTF-8?q?=E5=9B=9E=E8=B0=83=E5=8F=A3=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/deploy-ai30.md | 8 +++++--- docs/deploy-hxtesting.md | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/deploy-ai30.md b/docs/deploy-ai30.md index a7b7835..ba00c1e 100644 --- a/docs/deploy-ai30.md +++ b/docs/deploy-ai30.md @@ -43,9 +43,11 @@ | 项 | 值 | | --- | --- | -| 生产服入口 | http://192.168.100.230:8802(域名绑定待 DNS 管理员登记后更新) | +| 生产服入口 | **https://kb.well-trust.com**(ai30 nginx 443 反代 8802;备选直连 http://192.168.100.230:8802) | +| 测试服入口 | **https://kbt.well-trust.com**(同一证书/vhost 反代 hxtesting 8801;备选 http://192.168.100.192:8801) | | 代码仓库 | http://192.168.100.230:3000/szsy_organization/ai_academy | | 部署机 runner | `ssh ai30 'systemctl --user status gitea-runner'`(inspur,Linger=yes 开机自启) | -| 认证 | 正式 Casdoor `auth.well-trust.com`;回调登记 `http://192.168.100.230:8802/api/v1/auth/oidc/callback`(域名定稿后同步追加域名回调);client 凭据存 Mac `~/dev-tools/aido-oidc-prod.txt`(600) | -| Casdoor 改库备份 | ai30 shared-postgres `casdoor_db.application_bak_20261119`(注册应用行前快照) | +| 认证 | 正式 Casdoor `auth.well-trust.com`;回调登记 IP 与 https://kb.well-trust.com 两路 + localhost:5173;client 凭据存 Mac `~/dev-tools/aido-oidc-prod.txt`(600) | +| Casdoor 改库备份 | ai30 shared-postgres `casdoor_db.application_bak_20261119`(注册应用行)、`application_bak_20261120`(域名回调更新前) | | 数据落位 | ai30 Docker 数据根 `/data/lib/docker`(/data 卷,987G 可用) | +| 域名/证书 | kb+kbt SAN 一张(`/data/ai-platform/.certbot/config/live/kb.well-trust.com/`),DNS A 记录与 TXT 验证均走阿里 API(凭据 `aliyun-welltrust.ini`)自动完成,续期 dns-aliyun 全自动;vhost=`/etc/nginx/conf.d/kb-academy.conf`(预写件 `/data/ai-platform/kb-academy-nginx.conf`,装载需一次 sudo) | diff --git a/docs/deploy-hxtesting.md b/docs/deploy-hxtesting.md index 726dcdb..c3f1755 100644 --- a/docs/deploy-hxtesting.md +++ b/docs/deploy-hxtesting.md @@ -47,8 +47,8 @@ | 项 | 值 | | --- | --- | -| 测试服入口 | http://192.168.100.192:8801(FRONTEND_PORT=8801,登记册 88xx 平台段) | +| 测试服入口 | **https://kbt.well-trust.com**(ai30 nginx 反代;备选 http://192.168.100.192:8801,FRONTEND_PORT=8801,登记册 88xx 平台段) | | 代码仓库 | http://192.168.100.230:3000/szsy_organization/ai_academy | | 流水线 | 仓库 → 工作流 tab(workflow 文件:`.gitea/workflows/deploy-hxtesting.yml`) | -| 认证 | 测试 Casdoor `autht.well-trust.com`(应用名 ai-academy,回调登记 8801 与本地 5173) | +| 认证 | 测试 Casdoor `autht.well-trust.com`(应用名 ai-academy,回调登记 8801 / https://kbt.well-trust.com 与本地 5173) | | 本地开发 | `make dev-start` → `./scripts/dev.sh app` → `./scripts/dev.sh frontend`(前端 5173 代理后端) |