diff --git a/template/pm2.dev.js b/template/pm2.dev.js index 6c51eea..5853da4 100644 --- a/template/pm2.dev.js +++ b/template/pm2.dev.js @@ -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, - }, + } }, ], }; \ No newline at end of file