docs: 补充其他部署方式(二进制、自建镜像、分离、离线)

新增「其他部署方式」分组,共 5 页:
- 方式对比与选型:5 种方式对照、服务依赖表、服务间通信易错点
- 二进制部署:各服务 Go 版本/CGO/构建目录/产物名对照表,
  admin-svr 需 CGO 的说明,交叉编译限制,systemd unit 模板,
  静态前端交给 nginx,升级回滚流程
- 自建镜像:各仓 Dockerfile 位置与构建上下文、构建参数、
  镜像命名规则、批量构建脚本、常见问题
- 分离部署:中间件独立,业务机精简 compose,配置改为外部地址
- 离线部署:镜像导出导入、校验、内网镜像仓库方案

同时记录一个实际阻塞:openapi/app/admin-ui 共 5 个 Dockerfile
的 FROM 仍指向私有镜像仓库,外部环境无法构建,页内给出替换方法。
This commit is contained in:
Dai0814
2026-10-28 14:20:06 +08:00
parent e43640d0fe
commit f169afc1bc
6 changed files with 990 additions and 0 deletions
+11
View File
@@ -87,6 +87,17 @@ export default defineConfig({
{ text: '启动与验证', link: '/deploy/install' },
]
},
{
text: '其他部署方式',
collapsed: false,
items: [
{ text: '方式对比与选型', link: '/deploy/alternatives' },
{ text: '二进制部署', link: '/deploy/binary' },
{ text: '自建镜像', link: '/deploy/build-image' },
{ text: '分离部署', link: '/deploy/split' },
{ text: '离线部署', link: '/deploy/offline' },
]
},
{
text: '运维',
collapsed: false,