chore: 统一本地服务器与远程仓库源码
- 合并 main 与 master 历史并以服务器结构为基线 - 保留迁移、数据保留、AWS 账单与部署安全能力 - 建立 SDD 规格和 CI 验证闭环
This commit is contained in:
commit
fd60361d93
460 files changed
+37492
-23871
No files matched your search
+5
-1
@@ -48,6 +48,8 @@ http://localhost:8080/version
|
||||
|
||||
连接外部 MySQL/Redis 时使用根目录 `docker-compose.k8s.yml`。
|
||||
|
||||
生产前复制 `.env.example` 为 `.env`、填入随机密码和 JWT 并执行 `chmod 600 .env`。Compose 不再挂载 Docker Socket,K8s 清单不使用 `hostNetwork`;uploads 通过独立持久卷保存。
|
||||
|
||||
---
|
||||
|
||||
## 二、独立二进制(无 Docker)
|
||||
@@ -99,6 +101,8 @@ systemctl status aiops
|
||||
清单目录:`deploy/kubernetes/`
|
||||
默认镜像:`lghost/aiops:<tag>`,NodePort `30080`。
|
||||
|
||||
K8s 部署前必须替换 `deploy/kubernetes/secret.yaml` 中的 `REPLACE_WITH_*` 占位符;`deployment.yaml` 会一并应用 MySQL/Redis NetworkPolicy。详细流程见 [kubernetes/README.md](./kubernetes/README.md)。
|
||||
|
||||
详见 [kubernetes/README.md](./kubernetes/README.md)。
|
||||
|
||||
---
|
||||
@@ -111,4 +115,4 @@ systemctl status aiops
|
||||
| 单机演示/测试 | `./run.sh docker up` |
|
||||
| 无 Docker 的 Linux | `./aiops` + `deploy/binary/install.sh` |
|
||||
| K8s 集群 | `./run.sh kubernetes deploy` |
|
||||
| 版本发布 | `./run.sh release v1.x` |
|
||||
| 版本发布 | `./run.sh release v1.x` |
|
||||
Reference in new issue
Block a user