diff --git a/ecosystem.config.js b/ecosystem.config.js new file mode 100644 index 00000000..e9e3495e --- /dev/null +++ b/ecosystem.config.js @@ -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', + }, + }, + ], +};