20 lines
290 B
JavaScript
20 lines
290 B
JavaScript
|
// 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',
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
};
|