Using .cjs extension for pm2 ecosystem file.
This commit is contained in:
parent
62ddcbaaa0
commit
678c2ab5e0
|
@ -1,29 +0,0 @@
|
|||
// const config = require('config');
|
||||
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: 'newtraxxx',
|
||||
script: 'npm run server:prod',
|
||||
exec_mode: 'cluster',
|
||||
instances: 2,
|
||||
restart_delay: 3000,
|
||||
merge_logs: true,
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
},
|
||||
},
|
||||
/*
|
||||
...(config.analytics.enabled ? [{
|
||||
name: 'umami',
|
||||
script: 'npm start',
|
||||
cwd: process.env.UMAMI_DIR || '../umami',
|
||||
restart_delay: 3000,
|
||||
merge_logs: true,
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
},
|
||||
}] : []),
|
||||
*/
|
||||
],
|
||||
};
|
Loading…
Reference in New Issue