Deploy Umami with cache

Umami makes it easy to collect, analyze, and understand your website data

Deploy Umami with cache

Just deployed

/data

/var/lib/postgresql/data

Deploy and Host Umami with Cache on Railway

Umami is a simple, fast, privacy-focused alternative to Google Analytics. This template includes Redis caching for improved performance when handling high-traffic analytics workloads.

About Hosting Umami with Cache

Deploying Umami with cache on Railway gives you a complete web analytics stack with PostgreSQL for data storage and Redis for caching. Umami tracks pageviews, events, and user journeys without cookies—making it GDPR-compliant out of the box. The lightweight tracking script (~1KB) won't slow down your sites. Redis caching reduces database load and improves dashboard responsiveness for high-traffic sites.

Common Use Cases

  • Privacy-friendly website analytics without cookie banners
  • Tracking multiple websites from a single dashboard
  • Real-time visitor monitoring and event tracking
  • Replacing Google Analytics with a self-hosted solution

Dependencies for Umami with Cache Hosting

  • PostgreSQL (data storage)
  • Redis (caching layer)

Deployment Dependencies

Environment Variables

VariableDescription
DATABASE_URLPostgreSQL connection string
REDIS_URLRedis connection string for caching
APP_SECRETRandom string for session encryption

Default Credentials

After first deployment, login with:

  • Username: admin
  • Password: umami

Change these immediately after first login.

Why Deploy Umami with Cache 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 with Cache 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

More templates in this category

View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

View Template
(v1) Simple Medusa Backend
Deploy an ecommerce backend and admin using Medusa

View Template
peppermint
Docker-compose port for peppermint.sh