new-demo/pm2.staging.js

18 lines
495 B
JavaScript

module.exports = {
apps: [
{
name: 'oak-template-server',
script: './scripts/startServer.js',
instances: '2',
exec_mode: 'cluster',
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
increment_var: "OAK_INSTANCE_ID",
env: {
OAK_PLATFORM: 'server',
NODE_ENV: 'staging',
OAK_INSTANCE_CNT: 2,
OAK_INSTANCE_ID: 0,
}
},
],
};