Deploy Novu

Send in-app, email, SMS, push and chat notifications from one API.

Deploy Novu

Just deployed

Just deployed

/data

Just deployed

Just deployed

Just deployed

MongoDB

mongo:8.0

Just deployed

/data/db

novu-storage

Bucket

Just deployed

Deploy and Host Novu on Railway

Novu logo

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

ServicePurpose
novu-apiThe REST API on port 3000 with a public domain. Your backend triggers workflows here, and the dashboard and Inbox call it.
novu-workerProcesses workflow jobs: digests, delays and sending through your providers. Private only.
novu-wsWebsocket server on port 3002 with a public domain, pushing real-time updates to the Inbox.
novu-dashboardThe web dashboard on port 4000 with a public domain, for workflows, integrations, subscribers and activity.
MongoDBMongoDB 8.0 with a volume, storing workflows, subscribers and messages.
RedisRedis 8.2 with a volume, for job queues and cache.
novu-storageA 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

  1. Click Deploy on Railway and wait for all services to turn healthy; MongoDB indexes are created on first boot.
  2. Open the novu-dashboard domain and create your account. The first account becomes your organization.
  3. Set DISABLE_USER_REGISTRATION to true on novu-api and redeploy, so nobody else can sign up.
  4. In the dashboard, connect an email or SMS provider under Integrations and create a workflow.
  5. 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

VariableServiceDefaultDescription
JWT_SECRETnovu-api🔐 Auto-generatedSigns dashboard and Inbox tokens; shared with worker and ws
NOVU_SECRET_KEYnovu-api🔐 Auto-generatedInternal signing key; shared with the worker
STORE_ENCRYPTION_KEYnovu-api🔐 Auto-generatedEncrypts provider credentials; exactly 32 characters
DISABLE_USER_REGISTRATIONnovu-apifalseSet to true after creating your account
API_ROOT_URLnovu-apiAPI domainPublic API address
FRONT_BASE_URL / DASHBOARD_URLnovu-apidashboard domainDashboard origin for CORS and links
VITE_API_HOSTNAMEnovu-dashboardAPI domainAPI address used by the dashboard
VITE_WEBSOCKET_HOSTNAMEnovu-dashboardws domainWebsocket address used by the dashboard
MONGO_URLapi, worker, wsprivate MongoDB URLDatabase connection
S3_BUCKET_NAMEapi, workerbucket nameRailway 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

FeatureNovu on RailwayNovu CloudKnockCourier
HostingSelf-hostedHostedHostedHosted
LicenseMIT coreProprietary serviceProprietaryProprietary
In-app Inbox✅✅✅✅
Digests and delays✅✅✅✅
Data on your infrastructure✅❌❌❌
Event limitsNoneBy planBy planBy plan
PriceAbout $20–40/monthFree tier, then about $30+/month (approximate)Free tier, then paidFree 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

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

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
NEW
Double Commander in your browser
The Double Commander file manager in the cloud, from any device

Nermin Sabanovic
0