Document Fleet control center across README and core docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-30 13:07:25 +08:00
parent d46eaf43ab
commit e7529e9dc4
5 changed files with 204 additions and 87 deletions
+10 -5
View File
@@ -27,6 +27,7 @@
- [商业化与授权方案](docs/商业化与授权方案.md)
- [策略说明](docs/策略说明.md)
- [实盘策略说明](docs/实盘策略说明.md)
- [中控 Fleet 说明](docs/中控Fleet说明.md)(本地中控:多机监控 / 启停 / 更新 / 免密登录)
- [更新说明](docs/更新说明.md)(每次发版追加)
## 访问(测试机)
@@ -34,6 +35,7 @@
- 反代:[`https://dc.hyf2.cc`](https://dc.hyf2.cc) → 本机 `5155`PM2: `eth-hedge-api`
- 登录账号:见服务器 `/opt/eth_hedge_sim/.env``AUTH_USERNAME` / `AUTH_PASSWORD`
- 可在「系统设置」修改用户名/密码;前端固定同源 API,无 API 地址配置项
- **本地中控**`http://<局域网IP>:5160`PM2: `eth-hedge-control`);说明见 [中控 Fleet 说明](docs/中控Fleet说明.md)
## 一键部署 / 更新(禁止 scp 传代码)
@@ -48,9 +50,11 @@ curl -fsSL https://git.bz121.com/dekun/eth_hedge_sim/raw/branch/main/deploy/mana
菜单:
1. 一键部署
2. 一键卸载(仅停删 `eth-hedge-api`,移走目录并备份 `.env`
3. 更新(`git pull` + 构建 + reload
1. 一键部署策略机
2. 一键部署中控机
3. 一键卸载
4. 更新策略机
5. 更新中控机
0. 退出
已安装后也可:
@@ -66,10 +70,11 @@ bash /opt/eth_hedge_sim/deploy/manage.sh
```bash
pip install paramiko
export DEPLOY_PASS='***'
python scripts/deploy_remote.py
python scripts/deploy_remote.py # 策略机
# python scripts/deploy_control.py # 中控(需 CONTROL_HOST / CONTROL_PASS
```
PM2 进程名:`eth-hedge-api`(端口 **5155**)。禁止 `pm2 restart all`
PM2 进程名:`eth-hedge-api`(端口 **5155**`eth-hedge-control`(端口 **5160**。禁止 `pm2 restart all`
## 服务器上本地开发 / 调试(Ubuntu 22.04