{"size": 697, "ext": "js", "max_stars_repo_path": "export/ecosystem.config.js", "max_stars_repo_name": "TanLeYang/nusmods", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "export/ecosystem.config.js", "max_issues_repo_name": "TanLeYang/nusmods", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "export/ecosystem.config.js", "max_forks_repo_name": "TanLeYang/nusmods", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.78125, "max_line_length": 83, "alphanum_fraction": 0.5265423242}
module.exports = {
  apps: [
    {
      name: 'Export (Staging)',
      script: 'app.js',

      // Options reference: https://pm2.io/doc/en/runtime/reference/ecosystem-file/
      autorestart: true,
      watch: false,
      max_memory_restart: '500M',
      env: {
        NODE_ENV: 'production',
        PORT: 3301,
      },
    },
    {
      name: 'Export',
      script: '../../nusmods-export/app.js',
      cwd: '../../nusmods-export',

      // Options reference: https://pm2.io/doc/en/runtime/reference/ecosystem-file/
      autorestart: true,
      watch: false,
      max_memory_restart: '500M',
      env: {
        NODE_ENV: 'production',
        PORT: 3300,
      },
    },
  ],
};
