Files
cube/doc/todo.md
T

30 lines
1.6 KiB
Markdown
Raw 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.
# cube 迁移清单
把 oci 节点(`oci.euphon.net`ARM Ubuntu 22.04 + k3s + traefik ingress)上 Fam 自己的小 web app 迁到 cube(跑在 `famzheng.me` 节点上)。整理时间 2026-05-04。
> oci 主机本身不退役 —— 留给 Hera 同学继续用。所以这里只列**要从 oci 迁出**的应用,留在 oci 的其他服务一律不提。
---
## 一、会迁
| 应用 | 当前域名 | 用途 | 备注 |
|---|---|---|---|
| `portfolio` | portfolio.oci.euphon.net | 投资组合追踪 | **不在 k3s 里**——host systemd `portfolio.service`uvicorn `:8890`python3 直跑 |
| `repo-vis` | repo-vis.oci.euphon.net | git 仓库可视化 | k3s ns `repo-vis` |
| `guitar` | player.oci.euphon.net | 吉他 playerchord / tabs? | 2 容器 sidecar |
| `pyroblem` | ? | ? | Fam 2026-05-04 补加,详情待补 |
## 一-bis、已迁
| 应用 | 新域名 | 完成时间 | 备注 |
|---|---|---|---|
| `simpleasm` | asm.famzheng.me | 2026-05-04 | FastAPI → axum + rusqlite 重写;前端 Vue3 原样搬;冷启 dboci 端 IngressRoute + redirectRegex 308 永久跳转(noop service 占位 spec.services |
---
## 二、迁移注意事项
- **域名**oci 上 ingress 都挂在 `*.oci.euphon.net` 等域名下。迁到 cube 后切到 `*.famzheng.me`(节点主域),DNS 已是 wildcard A 记录,无需新加。是否保留旧域名做 redirect 另议。
- **portfolio 特殊**host systemd 跑的,不在 k3s 里。迁过来要么沿用 systemd(直接放本机 `/home/fam` 下跑)、要么打 docker image 进 k3s。