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:
@@ -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(勿写进本文件)
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user