---
title: "Deploy Umami"
description: "Privacy-first analytics to track website traffic without selling your data"
category: "Analytics"
url: https://railway.com/deploy/umami-software
---

# Deploy Umami

Privacy-first analytics to track website traffic without selling your data

**[Deploy Umami on Railway](https://railway.com/template/umami-software)**

- **Creator:** codestorm
- **Category:** Analytics
- **Total deploys:** 1

## Template content

### umami https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/umami.svg

- **Image:** ghcr.io/umami-software/umami:latest
- **Public domain:** Yes

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2.1
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

## Documentation

# Deploy and Host Umami Software on Railway

Umami is a simple, fast, and privacy-focused alternative to Google Analytics. It provides essential website analytics without tracking users across the web or selling your data. Lightweight, open-source, and easy to self-host.

![Umami](https://opengraph.githubassets.com/027231e34679f13d043884e2d69bd69e052e500e3bf7b5b03c72101eda21b724/umami-software/umami)

## About Hosting Umami

Umami gives you full ownership of your analytics data while remaining GDPR-compliant by default. Using the official Docker image `ghcr.io/umami-software/umami:postgresql-latest`, deployment becomes very straightforward. On Railway, you get a complete production setup with PostgreSQL + Redis in just one click — no complex configuration needed.

![Umami](https://imgur.com/gdMnPDX.png)

## Common Use Cases
- Track website traffic, pageviews, sources, and user behavior privately
- Monitor multiple websites from a single dashboard
- Replace Google Analytics for privacy-conscious projects and clients
- Gather accurate analytics for blogs, SaaS, e-commerce, and marketing sites

## Dependencies for Umami Hosting
- Node.js runtime (included in Docker image)
- PostgreSQL database
- Redis (recommended for better performance)

### Deployment Dependencies
- **Umami Docker Image**: [ghcr.io/umami-software/umami:postgresql-latest](https://github.com/umami-software/umami/pkgs/container/umami)
- **GitHub Repository**: [umami-software/umami](https://github.com/umami-software/umami)
- **Official Documentation**: [umami.is/docs](https://umami.is/docs)

## Umami vs Other Solutions

| Feature                  | Umami Software (on Railway) | Google Analytics     | Plausible           | Matomo              |
|--------------------------|-----------------------------|----------------------|---------------------|---------------------|
| Privacy                  | ✅ Full (self-hosted)      | ❌ Tracks users      | ✅ Strong           | ✅ Full             |
| Data Ownership           | ✅ Complete                 | ❌ Google owns       | ✅ Complete         | ✅ Complete         |
| Ease of Deployment       | ✅ One-click                | ❌ SaaS only         | ⚠️ Medium           | ❌ Complex          |
| Resource Usage           | ✅ Very lightweight         | N/A                 | ✅ Lightweight      | ❌ Heavier          |
| Custom Events / Goals    | ✅ Yes                      | ✅ Yes               | ✅ Yes              | ✅ Advanced         |
| Cost                     | ✅ Pay only for usage       | ✅ Free (limited)    | ❌ Subscription     | ✅ Free (self-host) |

## How to Use
1. Deploy this template on Railway
2. After deployment, open your Umami domain
3. Login with default credentials: `admin` / `umami`
4. **Immediately change the password**
5. Add your website and start tracking with the provided script

## Why Deploy Umami Software 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 Software 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.

## Similar templates

- [Matomo Analytics + MariaDB](https://railway.com/deploy/matomo-analytics-mariadb) — Privacy-friendly analytics with MariaDB and persistent volumes.
- [Bugsink](https://railway.com/deploy/bugsink) — Self-hosted Error Tracking. Sentry-SDK compatible
- [SubTrackr](https://railway.com/deploy/bscottsubtrackr) — Self-hosted Subscription Tracker

Open this page in a browser: https://railway.com/deploy/umami-software
