← back to Designer Wallcoverings

DW-Agents/dw-agents/dw-blog-agent/ecosystem.config.js

18 lines

module.exports = {
  apps: [{
    name: 'dw-blog-agent',
    script: 'server.js',
    cwd: '/root/Projects/Designer-Wallcoverings/DW-Agents/dw-agents/dw-blog-agent',
    env: {
      NODE_ENV: 'production',
      PORT: 9889
    },
    max_memory_restart: '300M',
    autorestart: true,
    watch: false,
    log_date_format: 'YYYY-MM-DD HH:mm:ss',
    error_file: '/root/Projects/Designer-Wallcoverings/DW-Agents/logs/dw-blog-agent-error.log',
    out_file: '/root/Projects/Designer-Wallcoverings/DW-Agents/logs/dw-blog-agent-out.log'
  }]
};