125b0e1339
admin 后台 P0 + 配置后台化:登录/大盘/用户(360+封号+调金币)/提现(重试+对账)/反馈/管理员/审计/系统配置;对接 shaguabijia-app-server 的 admin API(独立 JWT + RBAC + 审计)。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
16 lines
393 B
JavaScript
16 lines
393 B
JavaScript
// 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',
|
|
},
|
|
],
|
|
};
|