refactor: integrate dashboard into server.py :8899, remove standalone dashboard

This commit is contained in:
hmo
2026-07-19 11:06:50 +08:00
parent 782a914a3c
commit b08bfa5d03
19 changed files with 300 additions and 330 deletions
+4 -4
View File
@@ -1,6 +1,6 @@
# MoFin — 快速操作手册
> 生产环境: Linux 192.168.1.246 | 端口: API 8899 / Dashboard 5807
> 生产环境: Linux 192.168.1.246 | 端口: API 8899 / Dashboard 8899
---
@@ -8,10 +8,10 @@
```bash
# 打开 Dashboard 看全局
http://192.168.1.246:5807
http://192.168.1.246:8899
# 命令行快速状态
ssh hmo@192.168.1.246 "curl -s http://127.0.0.1:5807/api/services | python3 -m json.tool | head -20"
ssh hmo@192.168.1.246 "curl -s http://127.0.0.1:8899/api/services | python3 -m json.tool | head -20"
```
---
@@ -71,7 +71,7 @@ ssh hmo@192.168.1.246 "cd ~/MoFin && git pull --rebase"
ssh hmo@192.168.1.246 "sudo systemctl restart mofin-dashboard"
# 3. 验证
ssh hmo@192.168.1.246 "curl -s http://127.0.0.1:5807/api/health"
ssh hmo@192.168.1.246 "curl -s http://127.0.0.1:8899/api/health"
```
---