Deploy Novu
Send in-app, email, SMS, push and chat notifications from one API.
novu-api
Just deployed
Redis
Just deployed
/data
novu-ws
Just deployed
novu-dashboard
Just deployed
novu-worker
Just deployed
MongoDB
Just deployed
/data/db
novu-storage
Bucket
Just deployed
Deploy and Host Novu on Railway

Novu is an open source notification infrastructure for product teams. Instead of writing separate code for every channel, you trigger one workflow from your app and Novu delivers the message by in-app inbox, email, SMS, push or chat, with digests, delays, user preferences and templates managed in a dashboard. It ships a ready-made Inbox component for React and other frameworks, SDKs for many languages, and integrations with providers such as SendGrid, Amazon SES, Twilio, Firebase and Slack. Novu has about 40,400 GitHub stars; its core is MIT licensed, with some enterprise features under a separate commercial license. This template runs the full self-hosted stack, Novu 3.19.0 with API, worker, websocket server and dashboard, plus MongoDB 8.0, Redis 8.2 and a Railway storage bucket, all pre-wired with generated secrets. Novu Cloud has a free tier and paid plans from about $30/month (approximate). Self-hosting on Railway usually costs about $20–40/month, with no per-event limits.
What This Template Deploys
| Service | Purpose |
|---|---|
| novu-api | The REST API on port 3000 with a public domain. Your backend triggers workflows here, and the dashboard and Inbox call it. |
| novu-worker | Processes workflow jobs: digests, delays and sending through your providers. Private only. |
| novu-ws | Websocket server on port 3002 with a public domain, pushing real-time updates to the Inbox. |
| novu-dashboard | The web dashboard on port 4000 with a public domain, for workflows, integrations, subscribers and activity. |
| MongoDB | MongoDB 8.0 with a volume, storing workflows, subscribers and messages. |
| Redis | Redis 8.2 with a volume, for job queues and cache. |
| novu-storage | A Railway bucket, S3-compatible, for attachments and uploaded assets. |
All services share their secrets through Railway variable references, so nothing needs copying between them.
About Hosting Novu
Notifications touch every product, and they grow complicated fast: each channel has its own provider, retries, templates and opt-outs. Novu turns that into workflows you design once.
One API, every channel. Trigger a workflow and let Novu deliver it as in-app, email, SMS, push or chat messages based on each step.
In-app Inbox. Drop the prebuilt Inbox into your app for a notification bell with read states, actions and real-time updates.
Workflows with digests and delays. Batch many events into one summary, wait before sending, or branch on conditions.
User preferences. Let users choose which channels and topics they receive, without building settings screens yourself.
Bring your providers. Connect SendGrid, Amazon SES, Mailgun, Postmark, Twilio, Firebase Cloud Messaging, Slack and many more, and switch without code changes.
Activity feed. See every message, its steps and delivery status for debugging.
Deploy Novu in Under 5 Minutes
- Click Deploy on Railway and wait for all services to turn healthy; MongoDB indexes are created on first boot.
- Open the novu-dashboard domain and create your account. The first account becomes your organization.
- Set
DISABLE_USER_REGISTRATIONtotrueon novu-api and redeploy, so nobody else can sign up. - In the dashboard, connect an email or SMS provider under Integrations and create a workflow.
- Copy your secret key from the dashboard and trigger the workflow from your backend using the novu-api domain.
Important: Close Registration After Setup
The dashboard is public, and sign-up stays open until you set DISABLE_USER_REGISTRATION to true. Create your own account first, then close registration and invite teammates from the dashboard.
When using SDKs and the Inbox component, point them at your own API and websocket domains instead of Novu Cloud, otherwise they will try to reach the hosted service.
Common Use Cases
- SaaS notifications: comments, mentions, assignments and billing alerts across channels.
- In-app notification center: a bell and inbox inside your product without building one.
- Transactional email: password resets, receipts and confirmations through your email provider.
- Digest emails: batch activity into daily or weekly summaries.
- SMS and push alerts: time-sensitive messages through Twilio, Firebase and others.
- Team alerts: send events to Slack, Microsoft Teams or Discord.
- Data residency: keep notification data and subscriber details on your own infrastructure.
- Marketplace and community apps: notify buyers, sellers and members about orders, replies and follows.
Configuration
| Variable | Service | Default | Description |
|---|---|---|---|
JWT_SECRET | novu-api | 🔐 Auto-generated | Signs dashboard and Inbox tokens; shared with worker and ws |
NOVU_SECRET_KEY | novu-api | 🔐 Auto-generated | Internal signing key; shared with the worker |
STORE_ENCRYPTION_KEY | novu-api | 🔐 Auto-generated | Encrypts provider credentials; exactly 32 characters |
DISABLE_USER_REGISTRATION | novu-api | false | Set to true after creating your account |
API_ROOT_URL | novu-api | API domain | Public API address |
FRONT_BASE_URL / DASHBOARD_URL | novu-api | dashboard domain | Dashboard origin for CORS and links |
VITE_API_HOSTNAME | novu-dashboard | API domain | API address used by the dashboard |
VITE_WEBSOCKET_HOSTNAME | novu-dashboard | ws domain | Websocket address used by the dashboard |
MONGO_URL | api, worker, ws | private MongoDB URL | Database connection |
S3_BUCKET_NAME | api, worker | bucket name | Railway bucket for attachments |
Encryption key. STORE_ENCRYPTION_KEY protects your provider API keys in MongoDB. Never change it after adding integrations.
Custom domains. If you add custom domains, update API_ROOT_URL, FRONT_BASE_URL, DASHBOARD_URL and the dashboard's VITE_ variables to match, then redeploy.
Scaling. Add replicas to novu-worker when queues grow, since it does the sending work.
Updates. The template pins Novu 3.19.0, and 3.20.0 is the latest release. Update all four Novu images to the same version together and back up MongoDB first.
Backups. Back up the MongoDB volume regularly; it holds workflows, subscribers and message history.
Tips for Reliable Notifications
Start with one channel. Get email or in-app working end to end before adding SMS and push.
Use digests for busy events. Batch frequent events so users get one summary instead of dozens of messages.
Respect preferences. Mark critical workflows as required and let users opt out of the rest.
Test with development environments. Use Novu's development environment for testing, then promote workflows to production.
Watch the activity feed. Check failed steps there first; most issues are provider credentials or templates.
Keep provider limits in mind. Email and SMS providers have their own rate limits and costs, separate from Railway.
Novu vs. Alternatives
| Feature | Novu on Railway | Novu Cloud | Knock | Courier |
|---|---|---|---|---|
| Hosting | Self-hosted | Hosted | Hosted | Hosted |
| License | MIT core | Proprietary service | Proprietary | Proprietary |
| In-app Inbox | ✅ | ✅ | ✅ | ✅ |
| Digests and delays | ✅ | ✅ | ✅ | ✅ |
| Data on your infrastructure | ✅ | ❌ | ❌ | ❌ |
| Event limits | None | By plan | By plan | By plan |
| Price | About $20–40/month | Free tier, then about $30+/month (approximate) | Free tier, then paid | Free tier, then paid |
Novu Cloud, Knock and Courier need no hosting and include support. Self-hosted Novu keeps notification data on your infrastructure with no per-event pricing.
Dependencies for Novu Hosting
- A Railway account.
- Accounts with the email, SMS, push or chat providers you want to use.
Deployment Dependencies
- Novu on GitHub: source code and releases
- Novu documentation: workflows, Inbox and self-hosting
- Novu providers: supported delivery integrations
Implementation Details
All Novu services use the official images. Private hostnames and Redis clients are set for IPv6, which Railway's private network requires, and the bucket is used through Novu's S3 storage driver.
Frequently Asked Questions
What is Novu? Open source notification infrastructure with an MIT-licensed core, for in-app, email, SMS, push and chat.
How much does it cost to host? About $20–40/month on Railway, plus your delivery providers' charges.
How do I stop strangers from signing up?
Set DISABLE_USER_REGISTRATION to true on novu-api after creating your account.
Do I need my own email or SMS provider? Yes. Connect your provider in the dashboard under Integrations.
How do I use the Inbox component? Point it at your novu-api and novu-ws domains instead of Novu Cloud.
Is there a limit on events? No. Self-hosted Novu has no plan limits; capacity depends on your resources.
Why Deploy and Host Novu on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Novu on Railway, you get complete notification infrastructure for every channel, with your data on services you control.
Template Content
novu-api
ghcr.io/novuhq/novu/api:3.19.0Redis
redis:8.2novu-dashboard
ghcr.io/novuhq/novu/dashboard:3.19.0novu-worker
ghcr.io/novuhq/novu/worker:3.19.0MongoDB
mongo:8.0novu-storage
Bucket
