refactor: 整理配置文件(任务 2.4/20)

This commit is contained in:
张翔
2026-04-12 16:28:30 +08:00
parent 5cd7d48bf2
commit eafa95fd84
+46
View File
@@ -0,0 +1,46 @@
module.exports = {
apps: [
{
name: 'novalon-website-1',
script: 'node_modules/next/dist/bin/next',
args: 'start -p 3001',
instances: 1,
exec_mode: 'fork',
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production',
PORT: 3001
}
},
{
name: 'novalon-website-2',
script: 'node_modules/next/dist/bin/next',
args: 'start -p 3002',
instances: 1,
exec_mode: 'fork',
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production',
PORT: 3002
}
},
{
name: 'novalon-website-3',
script: 'node_modules/next/dist/bin/next',
args: 'start -p 3003',
instances: 1,
exec_mode: 'fork',
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production',
PORT: 3003
}
}
]
};