Runtime Context
Deployment
- Tool:
ERS - Domain:
review.r32a.com - Framework:
Next.js - Runtime summary:
Next.js 16 + Prisma - Code path:
/srv/apps/ers/prod - Working directory:
/srv/apps/ers/prod - Environment file:
/etc/ers-prod.env - Repo:
git@github.com:rrzli/ers.git - Branch:
main - Last commit:
a82cd01 (2026-02-20) - Health:
healthy
Services
| Service | Active | Enabled |
|---|---|---|
| ers-prod.service | active | enabled |
Ports
| Label | Address | Status |
|---|---|---|
| App port | 127.0.0.1:3002 | listening |
Important Environment Keys
- NODE_ENV
- HOST
- PORT
- DATABASE_URL
- AUTH_JWT_SECRET
- AUTH_COOKIE_NAME
- UPLOAD_BASE_DIR
- UPLOAD_MAX_MB
- RESEND_API_KEY
- RESEND_FROM_EMAIL
- EMAIL_FROM
- OPENAI_API_KEY
- OPENAI_MODEL
- INTERNAL_API_SECRET
Data Paths
- /srv/apps/ers/prod
Start Commands
- npm start -- --hostname 127.0.0.1 --port 3002
Common Support Commands
- cd /srv/apps/ers/prod
- git -C /srv/apps/ers/prod status -sb
- git -C /srv/apps/ers/prod log -1 --oneline
- systemctl status ers-prod.service
- journalctl -u ers-prod.service -n 100 --no-pager
- systemctl restart ers-prod.service