Add Fleet control plane and split manage.sh deploy menu.

Strategy nodes gain fleet token APIs; control/ app for local ops; manage.sh offers strategy vs control one-click deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-30 10:46:40 +08:00
parent 200702d066
commit da5eb4c18c
44 changed files with 4623 additions and 15 deletions
+15
View File
@@ -0,0 +1,15 @@
module.exports = {
apps: [
{
name: 'eth-hedge-control',
cwd: '/opt/eth_hedge_sim/control/backend',
script: '/opt/eth_hedge_sim/.venv/bin/uvicorn',
args: 'app.main:app --host 0.0.0.0 --port 5160',
interpreter: 'none',
env: {
TZ: 'Asia/Shanghai',
},
// 凭据读仓库根 .env.control(勿写进本文件)
},
],
};