Files
novalon-website/config/ecosystem.config.js
T

46 lines
988 B
JavaScript

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
}
}
]
};