Nexora Platform
AI 驱动的研发协作平台,基于 Docker Compose 编排 GitLab/Outline/Portainer/Uptime Kuma 等服务,通过 Mattermost Bot 矩阵实现”对话即操作”的全栈 DevOps。
概述
Nexora Platform(前身为 Lobster Platform / 龙虾平台)是一套自托管的 AI 驱动研发基础设施,部署在 claw-bot 服务器(192.168.31.141)上。平台的核心理念是 “告诉 AI 你要什么,剩下的交给 Nexora”——团队不需要学 Git 命令、不需要记部署流程、不需要配 CI/CD,通过 Mattermost 与 AI Bot 对话即可完成所有操作。
服务全景
| 服务 | 域名 | 用途 |
|---|---|---|
| GitLab CE | gitlab.nexora.restry.cn | Git 仓库管理(30 个项目),端口 3000 |
| Outline Wiki | outline.nexora.restry.cn | 知识库/文档协作 |
| Uptime Kuma | uptime.nexora.restry.cn | 服务可用性监控(7 项监控) |
| Portainer | portainer.nexora.restry.cn | Docker 容器管理面板 |
| Mattermost | mm.cn.restry.cn | 团队沟通 + Bot 交互 |
| 公司门户 | www.nexora.restry.cn | 对外宣传 + 内部导航 + 开发指南 |
技术架构
公网 (*.nexora.restry.cn)
↓ DNS → fw-n2 (40.162.94.187)
↓ FRP 内网穿透
claw-bot (192.168.31.141)
↓ Caddy (TLS 终结 + 反向代理)
↓
Docker Compose
├── GitLab CE (3000, 2222/SSH)
├── Outline (3000 内部)
├── PostgreSQL 16 (5432 内部, GitLab + Outline 共用)
├── Redis (6379 内部, Outline 缓存)
├── Uptime Kuma (3001)
├── Portainer (9000)
└── Caddy (80, 443, 8888)
统一认证 (SSO)
GitLab CE 作为 OAuth2/OIDC Provider,所有服务(目前 Outline)通过 GitLab SSO 登录,新服务只需在 GitLab 中注册 OAuth 应用即可接入。
三环境架构
| 环境 | 分支 | 域名模式 | 触发方式 |
|---|---|---|---|
| Development | feature/*, develop | dev-*.nexora.restry.cn | 手动/本地 |
| Staging | develop (合并后) | staging-*.nexora.restry.cn | PR 合并自动部署 |
| Production | main (tag) | *.nexora.restry.cn | 打 tag + 审批 |
CI/CD 计划使用 GitLab CI/CD。
AI 驱动的工作流
平台的差异化定位在于 AI 无处不在:
| 层面 | AI 能力 |
|---|---|
| 代码层 | AI 写代码、PR 审查、仓库管理 |
| 运维层 | AI 部署、监控告警、服务自愈 |
| 文档层 | AI 自动生成文档、维护知识库 |
| 协作层 | 对话式任务分发、进度跟踪 |
示例交互:“帮我建一个新项目,叫 nexora-portal” → AI 自动创建 GitLab 仓库、初始化代码、配置 CI/CD、部署站点。
Bot 矩阵
| Bot | 角色 | 职责 |
|---|---|---|
| @nexora 🦞 | 运维管家 | 总调度、服务监控、基础设施 |
| @nexora-fe 🎨 | 前端开发 | React/Vue/CSS、UI 组件 |
| @nexora-be ⚙️ | 后端开发 | API 开发、数据库设计 |
| @nexora-qa 🧪 | 测试 | 自动化测试、Bug 跟踪 |
| @nexora-docs 📝 | 文档 | API 文档、技术方案 |
| @nexora-alert 🔔 | 告警通知 | 监控告警、CI 结果推送 |
演进路线
| 阶段 | 内容 |
|---|---|
| ✅ 已上线 | GitLab CE、Outline、Portainer、Uptime Kuma、门户网站 |
| 近期 | GitLab Runner、Grafana、Container Registry |
| 中期 | K8s 编排、多节点部署 |
| 远期 | AI 全自主开发 |
相关页面
基础设施与运维
- nexora — Nexora Bot (运维管家)
- caddy-reverse-proxy — 反向代理配置
- monitoring-and-cron — 监控与定时任务
- nexora-mysql-consolidation — MySQL 4合1
- nexora-erp-recovery — ERP 开发环境故障恢复
开发与部署
- nexora-portal — 门户网站设计与重构
- nexora-gitlab-sync — GitLab 远程仓库同步
- mvp-deployer — MVP 自动部署控制面
架构与协作
- multi-agent-architecture — 多代理架构
- bot-inventory — Bot 集群清单
- openclaw-config — OpenClaw 配置
- quokka — claw-bot 远程运维助手
- model-provider-config — 模型均匀分配策略
2026-04-12 更新
来源:莆田公司转型梳理(cobra 请求 main 整理当前状态)
四套已部署系统状态
| 系统 | 地址 | 状态 | 备注 |
|---|---|---|---|
| 超级 ERP (pyerp) | pyerp/erp-dev.nexora.restry.cn | ✅ 全链路跑通 | 前端可能 502 待排查 |
| 仙游龙凤 ERP (xylferp) | xylferp.nexora.restry.cn | ✅ 已部署 | |
| 妈祖商城 (mazugift) | mazugift.nexora.restry.cn | ✅ 已部署 | 缺 Outline 文档 |
| 黄金回收 (hjhs) | hjhs.nexora.restry.cn | ✅ 已部署 | 缺 Outline 文档 |
基础设施搭建完成
- GitLab CE:29 个仓库全部迁移
- Outline Wiki:20+ 篇架构文档
- 7 个 AI 代理团队(main/fe/be/qa/docs/alert/ops)通过 Clawline 运行
- 通信已从 Mattermost 迁移至 Clawline(4/9 完成)
待解决问题
- erp-dev 前端 502(Vue dev server 可能未运行)
- mazugift、hjhs、wl_php 缺少 Outline 文档
- 莱雅商城无业务数据(RDS 白名单未放行)
- 喜铺/摆件/莱雅 ERP 尚未本地部署
- 密码安全隐患(多系统用弱密码)