pm2.dev.js
This commit is contained in:
parent
12c4cfc967
commit
a916e2c304
|
|
@ -3,28 +3,16 @@ module.exports = {
|
|||
{
|
||||
name: 'oak-template-server',
|
||||
script: './scripts/startServer.js',
|
||||
instances: '10',
|
||||
instances: '1',
|
||||
exec_mode: 'cluster',
|
||||
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
|
||||
increment_var: "OAK_INSTANCE_ID",
|
||||
env: {
|
||||
OAK_PLATFORM: 'server',
|
||||
NODE_ENV: 'development',
|
||||
OAK_INSTANCE_CNT: 10,
|
||||
OAK_INSTANCE_CNT: 1,
|
||||
OAK_INSTANCE_ID: 0,
|
||||
},
|
||||
env_prod: {
|
||||
OAK_PLATFORM: 'server',
|
||||
NODE_ENV: 'production',
|
||||
OAK_INSTANCE_CNT: 10,
|
||||
OAK_INSTANCE_ID: 0,
|
||||
},
|
||||
env_staging: {
|
||||
OAK_PLATFORM: 'server',
|
||||
NODE_ENV: 'staging',
|
||||
OAK_INSTANCE_CNT: 10,
|
||||
OAK_INSTANCE_ID: 0,
|
||||
},
|
||||
}
|
||||
},
|
||||
],
|
||||
};
|
||||
Loading…
Reference in New Issue