
Deploy ntfy
An open-source, self-hostable push notification service
Just deployed
/var/lib/ntfy
Deploy and Host ntfy on Railway
ntfy is an open-source, self-hostable push notification service that lets you send notifications to your phone or desktop via simple HTTP requests — no app registration, no vendor lock-in, no API keys required. Publish from any script, app, or CI pipeline in seconds.
About Hosting ntfy
Hosting your own ntfy server gives you full control over who can publish and subscribe to topics, how long messages are cached, and where attachments are stored. This Railway template deploys ntfy using the official Docker image with a persistent volume mounted at /var/lib/ntfy for cache, auth, and attachment storage — so your data survives restarts and redeploys. The server runs behind Railway's built-in proxy with behind-proxy enabled and is reachable immediately on your Railway-provided domain. From there you can lock down access with user authentication, set message retention policies, and add a custom domain.
Common Use Cases
- Developer alerting — trigger notifications from CI/CD pipelines, cron jobs, or monitoring scripts when builds fail, jobs complete, or thresholds are breached
- Home automation — receive push alerts from self-hosted tools like Home Assistant, Uptime Kuma, or Grafana without routing through third-party notification services
- Team / app notifications — send internal alerts to teammates or end users from your own backend, with full control over rate limits, topic access, and data retention
Dependencies for ntfy Hosting
- ntfy Docker image (
binwiederhier/ntfy) - Persistent volume at
/var/lib/ntfy(provisioned automatically by this template)
Deployment Dependencies
Implementation Details
Why Deploy ntfy 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 ntfy on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
