// pm2 部署配置(对齐 hire 项目)。生产:pm2 start ecosystem.config.js module.exports = { apps: [ { name: 'shaguabijia-admin-web', cwd: '/opt/shaguabijia-admin-web', script: 'npm', args: 'start', // → next start -p 3001 env: { NODE_ENV: 'production' }, instances: 1, autorestart: true, max_memory_restart: '300M', }, ], };