← back to Omega Watches 2

ecosystem.config.cjs

18 lines

module.exports = {
  apps: [{
    name: 'omega-watches-2',
    script: 'node_modules/.bin/next',
    args: 'start -p 7600',
    cwd: '/root/Projects/omega-watches-2',
    env: {
      PORT: 7600,
      NODE_ENV: 'production',
    },
    max_memory_restart: '512M',
    autorestart: true,
    watch: false,
    exec_mode: 'fork',
    exp_backoff_restart_delay: 100,
  }],
};