← back to Letsbegin

ecosystem.config.js

18 lines

module.exports = {
  apps: [{
    name: 'letsbegin',
    script: 'npm',
    args: 'start',
    cwd: '/root/Projects/Letsbegin',
    env: {
      NODE_ENV: 'production',
      PORT: 7300
    },
    instances: 1,
    exec_mode: 'fork',
    autorestart: true,
    watch: false,
    max_memory_restart: '1G'
  }]
}