Deploy Umami
Privacy-focused, cookie-free Google Analytics alternative with Postgres
Just deployed
/var/lib/postgresql/data
umami
Just deployed
Deploy and Host Umami on Railway
Umami is an open-source, privacy-focused web analytics tool. It tracks page views, visitors, referrers, devices, countries and custom events without cookies, and keeps all data in your own Postgres database. A simple, fast alternative to Google Analytics that is GDPR friendly out of the box.
About Hosting Umami
This template runs the official Umami image (pinned to a stable release) next to a Railway Postgres database. Umami connects over the private network, runs its database migrations automatically on every start and exposes its dashboard and tracker script on a public domain. A random APP_SECRET is generated for you. The Umami service is stateless, so redeploys and upgrades only touch the database through Umami's own migrations.
Common Use Cases
- Privacy-friendly analytics for websites, blogs and documentation sites
- Replacing Google Analytics without a cookie banner
- Tracking custom events, UTM campaigns and goals across several sites from one dashboard
Dependencies for Umami Hosting
- PostgreSQL (included in this template)
Deployment Dependencies
- Umami: https://github.com/umami-software/umami
- Documentation: https://umami.is/docs
- Template source: https://github.com/railtools/umami
Implementation Details
After deploying, open the public domain and log in with username admin and password umami. Umami asks you to change the password right away. Then add a website under Settings > Websites and paste the tracking snippet into the `` of your site:
Why Deploy Umami 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 Umami 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

