module.exports = { apps: [ { name: "next", script: ".next/standalone/server.js", exec_mode: "cluster", instances: 0, max_memory_restart: "512M", env: { NODE_ENV: "production", PORT: 3002, RCON_PORT: 3003, NEXT_PHASE: "phase-production-server", }, merge_logs: true, error_file: ".pm2/errors.log", out_file: ".pm2/out.log", log_date_format: "YYYY-MM-DD HH:mm:ss", }, ], };