traxxx/ecosystem.config.js

19 lines
279 B
JavaScript
Raw Normal View History

2023-06-19 00:51:01 +00:00
// const config = require('config');
module.exports = {
apps: [
{
name: 'traxxx',
script: 'src/init.js',
exec_mode: 'cluster',
instances: 2,
restart_delay: 3000,
args: '--server',
merge_logs: true,
env: {
NODE_ENV: 'production',
},
},
],
};