Files
EpicNext-Cms/ecosystem.config.cjs
T
openhands 583d05eee9
CI / check (push) Failing after 6s
Deploy / release (push) Skipped
CI / deploy (push) Skipped
Deploy / deploy (push) Failing after 5s
feat: modernize with Next.js 16 standalone output, remove redundant babel compiler, update postcss
- Remove babel-plugin-react-compiler (Next.js 16 has built-in reactCompiler)
- Update postcss to 8.5.25
- Add output: 'standalone' to next.config.ts for smaller/faster deployments
- Update ecosystem.config.cjs to use standalone server.js
2026-07-30 20:00:31 +02:00

22 lines
481 B
JavaScript

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",
},
],
};