forked from DebaucheryLibrarian/traxxx
Added pm2 ecosystem file.
This commit is contained in:
parent
34613a92c5
commit
b362f95790
|
@ -0,0 +1,19 @@
|
|||
// const config = require('config');
|
||||
|
||||
module.exports = {
|
||||
apps: [
|
||||
// LEAFS
|
||||
{
|
||||
name: 'traxxx',
|
||||
script: 'src/init.js',
|
||||
exec_mode: 'cluster',
|
||||
instances: 2,
|
||||
restart_delay: 3000,
|
||||
args: '--server',
|
||||
merge_logs: true,
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
Loading…
Reference in New Issue