nomadro/.cursor/rules/deploy-ops.mdc
eric 56b29205e7 Integrate four verticals into nomadro portal with shared packages and API gateway.
Mount /vip with nomadvip+payjsapi, add @nomadro/pay|pb|sdk, apps/api, /admin shell, and backup/rollback scripts under git.nomadro.cn workflow.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 20:16:44 -05:00

22 lines
713 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
description: 本地调试 → 线上部署 → 更新 README;生产机与运维栈
alwaysApply: true
---
# 部署与运维
## 流程
本地确认 → 部署 `82.157.112.245`(ubuntu/`Xiao4669805`)→ 线上确认 → 更新 README。
## 线上习惯
- 前端多为 Next(PM2/systemd);API FastAPI;静态/反代可用 Caddy 或宝塔 Nginx
- 可观测:Umami、Uptime-Kuma、ntfy;对象存储优先 SeaweedFS / MinIO(`s3`/`minio` 子域)
- 数据:在线定时备份,支持回滚与日志溯源;改 PB schema 先备份
## Git
- 远程默认 `https://git.nomadro.cn/hackrobot/<repo>.git`
- 当前门户主开发分支常见为 `pre1`;发版前与 README 中声明的分支对齐