
Deploy nerve-template-source
Visual command center for securely operating OpenClaw and Hermes agents.
Just deployed
/var/lib/postgresql/data
nerve
Just deployed
Deploy and Host Nerve on Railway
Nerve is an open-source visual command center for securely observing and operating OpenClaw and Hermes agent fleets. This template deploys the Nerve web application with PostgreSQL persistence, encrypted runtime credentials, database migrations, and health checks.
About Hosting Nerve
Nerve runs as a self-hosted Next.js control plane. Railway builds the repository Dockerfile, runs additive PostgreSQL migrations before each release, and monitors /api/health. Runtime credentials are encrypted before storage and never returned to the browser.
After deployment, open the generated Nerve domain and unlock the command center with the access token configured in NERVE_ADMIN_TOKEN or a role-scoped token from NERVE_ACCESS_KEYS.
Why Deploy Nerve on Railway
- One-click application and PostgreSQL provisioning
- Docker-based reproducible builds
- Automatic database migrations before deploy
- Readiness checks for authentication, database, and encryption configuration
- Automatic deploys from the protected
mainbranch - Managed domains, logs, backups, and restart policies
Common Use Cases
- Monitor OpenClaw and Hermes agents from one fleet map
- Drill into agent runs, progress, traces, timing, and model usage
- Ask agents questions and dispatch audited operator actions
- Stop or reconcile agent work with explicit role permissions
- Install or assign skills to individual agents
- Operate a private agent fleet without using each runtime's native dashboard
Dependencies for Nerve
Nerve requires a PostgreSQL database and secure, independently generated secrets. Agent runtimes remain separate services and connect through their public HTTPS or WebSocket endpoints.
Deployment Dependencies
- PostgreSQL 15 or newer, provided by the template
DATABASE_URL, injected from the PostgreSQL serviceNERVE_ENCRYPTION_KEY, generated withopenssl rand -base64 32NERVE_SESSION_SECRET, generated withopenssl rand -base64 48NERVE_ADMIN_TOKEN, generated withopenssl rand -base64 32NERVE_PUBLIC_URL, set to the generated Railway application origin- Optional
NERVE_ACCESS_KEYSJSON for separate viewer, operator, and admin credentials - Optional
NERVE_ALLOW_PRIVATE_NETWORKS=trueonly for trusted private-network runtime targets
See the project documentation for OpenClaw pairing, Hermes API setup, credential rotation, backup, restore, and incident procedures.
Template Content
PGDATA
PGPORT
POSTGRES_DB
POSTGRES_USER
SSL_CERT_DAYS
RAILWAY_DEPLOYMENT_DRAINING_SECONDS
nerve
boyeesu/nerveNERVE_PUBLIC_URL
NERVE_ADMIN_TOKEN
NERVE_ENCRYPTION_KEY
NERVE_SESSION_SECRET
NERVE_ALLOW_PRIVATE_NETWORKS
