Deploy Umami Analytics (Privacy-First)
Privacy-first Google Analytics alternative. Umami v3 + Postgres 17.
Just deployed
Just deployed
/var/lib/postgresql/data
Deploy and Host Umami Analytics on Railway
Self-host Umami — the privacy-first, cookieless Google Analytics alternative — in one click. This template runs the current Umami v3 (many older templates are stuck on the discontinued v2 tag scheme) with PostgreSQL 17, generated secrets, and telemetry disabled.
About Hosting Umami
Umami is a lightweight web analytics platform: add one small script tag to your site and get pageviews, referrers, devices, and events in a clean dashboard — no cookies, no personal data collection, GDPR-friendly without consent banners. This template pins ghcr.io/umami-software/umami:3.2.0 (the PostgreSQL build of the current major version), stores all data in a private-only Postgres 17 with a persistent volume, generates the APP_SECRET per deploy, and turns off telemetry and update checks. Umami itself is stateless — everything lives in the database, making backups a single pg_dump or a Railway volume backup.
Common Use Cases
- Replace Google Analytics with cookieless, GDPR-friendly analytics you own
- Track unlimited websites from one instance (Umami supports multi-site out of the box)
- Product and marketing event tracking without shipping visitor data to third parties
Dependencies for Umami Hosting
- PostgreSQL 17 (included, private-only, persistent volume)
Deployment Dependencies
Implementation Details
- First login: username
admin, passwordumami— change it immediately (the README and this overview both insist) APP_SECRETauto-generated via Railway's secret(); Postgres password generated and private-only- Healthcheck on
/api/heartbeat; pinned version — no silent major-version jumps - Umami v3 note: the old
postgresql-v*image tags are discontinued upstream; this template already uses the current scheme
Getting started: deploy, log in, change the admin password, add your website, and paste the tracking snippet into your site's ``.
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
