chore: commit remaining integration files, PM2 single instance, PRD doc

This commit is contained in:
2026-07-06 16:04:53 +08:00
parent 8bd59b8ac6
commit c81b0a0b5c
10 changed files with 2175 additions and 37 deletions

View File

@@ -12,9 +12,8 @@ module.exports = {
name: 'gongxue-backend',
cwd: DEPLOY_DIR,
script: 'apps/server/dist/main.js',
// 集群模式2 实例,按 CPU 核数可调)
instances: 2,
exec_mode: 'cluster',
instances: 1,
exec_mode: 'fork',
// 环境变量
env: {
NODE_ENV: 'production',