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（勿写进本文件）
    },
  ],
};
