module.exports = {
  apps: [
    {
      name: 'helper-backend',
      exec_mode: 'cluster',
      instances: '4',
      script: './dist/main.js',
      args: '',
      env: {
        NODE_ENV: 'production',
      },
      detached: true,
      max_restarts: 3,
      restart_delay: 5000,
      log_date_format: 'YYYY-MM-DD HH:mm:ss',
      combine_logs: false,
    },
  ],
};
