← back to Designer Wallcoverings
DW-Agents/dw-agents/agent-monitor-dashboard/ecosystem.config.js
18 lines
module.exports = {
apps: [{
name: 'dw-monitor-dashboard',
script: './monitor-dashboard.js',
cwd: '/root/Projects/Designer-Wallcoverings/DW-Agents/dw-agents/agent-monitor-dashboard',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '500M',
env: {
NODE_ENV: 'production',
PORT: 9899
},
error_file: '/root/DW-Agents/logs/monitor-dashboard-error.log',
out_file: '/root/DW-Agents/logs/monitor-dashboard-out.log',
time: true
}]
};