ecosystem.config.js
module.exports = {
apps: [{
name: 'cncp-failures-mockups',
script: 'server.js',
cwd: __dirname,
instances: 1,
exec_mode: 'fork',
autorestart: true,
watch: false,
max_restarts: 10,
min_uptime: '30s',
max_memory_restart: '150M',
env: { NODE_ENV: 'production', PORT: '9771', BIND: '127.0.0.1' }
}]
};