refactor: 整理配置文件(任务 2.4/20)
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user