Runtime Context
Deployment
- Tool:
DocuHandshake - Domain:
docu2.r32a.com - Framework:
Vite + React + Express - Runtime summary:
Vite + Express + PostgreSQL - Code path:
/srv/apps/docu/prod - Working directory:
/srv/apps/docu/prod - Environment file:
/etc/docu-prod.env - Repo:
git@github.com:rrzli/docu.git - Branch:
main - Last commit:
319ceed (2026-02-23) - Health:
partial
Services
| Service | Active | Enabled |
|---|---|---|
| docu-web-prod.service | active | enabled |
| active | unknown | unknown |
| enabled | unknown | unknown |
| docu-api-prod.service | active | enabled |
Ports
| Label | Address | Status |
|---|---|---|
| Web port | 127.0.0.1:3004 | listening |
| API port | 127.0.0.1:3003 | listening |
Important Environment Keys
- NODE_ENV
- HOST
- PORT
- DATABASE_URL
- APP_BASE_URL
- API_BASE_URL
- JWT_SECRET
- ADMIN_PASSWORD
- STORAGE_ROOT
- RESEND_API_KEY
- RESEND_FROM_EMAIL
- OPENAI_API_KEY
- OPENAI_MODEL
Data Paths
- /srv/apps/docu/storage
- /srv/apps/docu/prod
Start Commands
- npm run preview -- --host 127.0.0.1 --port 3004
- npm run start:server
Common Support Commands
- cd /srv/apps/docu/prod
- git -C /srv/apps/docu/prod status -sb
- git -C /srv/apps/docu/prod log -1 --oneline
- systemctl status docu-web-prod.service
- journalctl -u docu-web-prod.service -n 100 --no-pager
- systemctl restart docu-web-prod.service
- systemctl status active
- journalctl -u active -n 100 --no-pager
- systemctl restart active
- systemctl status enabled
- journalctl -u enabled -n 100 --no-pager
- systemctl restart enabled
- systemctl status docu-api-prod.service
- journalctl -u docu-api-prod.service -n 100 --no-pager
- systemctl restart docu-api-prod.service