---
title: "Deploy Novu"
description: "Open-source notification infrastructure"
category: "Other"
url: https://railway.com/deploy/U3QiXi
---

# Deploy Novu

Open-source notification infrastructure

**[Deploy Novu on Railway](https://railway.com/template/U3QiXi)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/U3QiXi/manifest.json

- **Creator:** Youssef Siam
- **Category:** Other
- **Total deploys:** 78

## Template content

### NovuAPI https://avatars.githubusercontent.com/u/77433905?s=48&v=4

- **Image:** ghcr.io/novuhq/novu/api:2.0.0
- **Public domain:** Yes

### MongoDB https://devicons.railway.app/i/mongodb.svg

- **Image:** mongo:7
- **Start command:** `docker-entrypoint.sh mongod --ipv6 --bind_ip ::,0.0.0.0`

### NovuWS https://avatars.githubusercontent.com/u/77433905?s=48&v=4

- **Image:** ghcr.io/novuhq/novu/ws:2.0.0
- **Public domain:** Yes

### NovuWeb https://avatars.githubusercontent.com/u/77433905?s=48&v=4

- **Image:** ghcr.io/novuhq/novu/web:2.0.0
- **Start command:** `/bin/sh -c "pnpm run envsetup:docker && pnpm run start:static:build"`
- **Public domain:** Yes

### Redis https://devicons.railway.app/i/redis.svg

- **Image:** bitnami/redis:7.2.5

### NovuWorker https://avatars.githubusercontent.com/u/77433905?s=48&v=4

- **Image:** ghcr.io/novuhq/novu/worker:2.0.0

## Documentation

# Novu Self-Hosted Template for Railway

## Overview
Novu is an open-source notification infrastructure designed for developers who need powerful, flexible notification capabilities in their applications. This template deploys a self-hosted version of Novu, providing complete control over your notification infrastructure while maintaining the ease of use that Novu is known for. Perfect for teams that need to manage complex notification workflows across multiple channels while keeping their data within their own infrastructure.

## Features
- **Powerful Workflow Engine**: Build code-first notification workflows that run within your infrastructure
- **Multi-Channel Support**: Send notifications across email, SMS, push, and in-app channels through a single API
- **Built-in Component Library**: Ready-to-use notification components including a customizable inbox
- **No-Code Editor**: Enable product teams to manage notification content without developer intervention
- **Type-Safe Operations**: End-to-end validation with custom JSON schemas
- **User Preference Management**: Built-in support for user notification preferences including language and timezone
- **Developer-First Architecture**: API-first design with complete workflow control
- **Open Source**: Full access to the source code with community backing

## Deployment Instructions
1. Click the "Deploy on Railway" button
2. Configure the required environment variables (see below)
3. Deploy the service
4. Access your Novu dashboard

### Important Post-Deployment Steps
5. Navigate to the Project Settings in Railway
6. Go to the "Networking" tab
7. Find the "NovuWeb" service
8. Look for the automatically generated public URL
9. If the URL doesn't work:
   - Delete the current public URL
   - Click "Generate Domain" to create a fresh public URL
   - Alternatively, attach your custom domain if you prefer
10. Use this URL to access your Novu dashboard
11. Set up your notification channels and providers
12. Integrate Novu into your application using the provided SDKs

## Getting Started
After successful deployment and URL configuration:
1. Access your Novu dashboard through the working public URL
2. Create your first notification template
3. Set up your preferred notification providers
4. Integrate the Novu SDK into your application
5. Send your first notification using the provided code:

```javascript
await novu.trigger('workflow-name', {
  to: {
    subscriberId: 'user-id',
    email: 'user@example.com'
  },
  payload: {
    name: 'John Doe',
    message: 'Hello world!'
  }
});
```

## Security Considerations
- Secure your MongoDB and Redis instances
- Set a strong JWT_SECRET
- Configure appropriate access controls
- Enable authentication for the dashboard
- Regularly update to the latest version
- Monitor your notification workflows

## Customization
- Add custom notification providers
- Implement custom notification templates
- Configure workflow rules and conditions
- Set up digest and delay steps
- Customize the in-app notification center
- Implement custom authentication logic

## Support
For issues with the template itself, please each out to me at youssef@reflectfy.com. For Novu-specific questions, refer to the [official documentation](https://docs.novu.co/) or join the Novu community.

## Troubleshooting
- If you can't access the dashboard after deployment, verify that the public URL is properly generated
- Ensure all environment variables are correctly set
- Check Railway logs for any deployment errors
- Verify that both the API and Web services are running
- If using a custom domain, ensure DNS settings are properly configured

Build powerful notification experiences with Novu!

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — Self-hosted virtual tabletop for role-playing games (license required)
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/U3QiXi
