PM2 ecosystem config
Create anecosystem.config.cjs file:
ecosystem.config.cjs
Start and monitor
Auto-restart on reboot
pm2 startup, follow the printed instructions to register the startup hook. pm2 save persists the current process list so Claudeye restarts automatically after a reboot.
Environment variables
All Claudeye configuration can be passed viaenv in the ecosystem config:
| Variable | Description |
|---|---|
PORT | Port to bind (default: 8020) |
HOSTNAME | Host to bind (0.0.0.0 for network access) |
CLAUDE_PROJECTS_PATH | Path to Claude projects directory |
CLAUDEYE_EVALS_MODULE | Path to your evals JS file |
CLAUDEYE_QUEUE_INTERVAL | Background scan interval in seconds |
CLAUDEYE_QUEUE_CONCURRENCY | Max parallel items per batch |
CLAUDEYE_AUTH_USERS | Comma-separated user:password pairs |
Running evals directly with Node or Bun
If your evals file includesapp.listen(), you can also run it directly without the Claudeye CLI:
--evals or CLAUDEYE_EVALS_MODULE, app.listen() is a no-op - it won’t start a duplicate server.
