Self-host Umami
Privacy-focused, cookieless web analytics with funnels, journeys, retention, session replays and heatmaps in the free MIT build. Two containers (Next.js + PostgreSQL) and one script tag to install.
Key facts
Pick Umami when you want analytics you can install in minutes and forget: MIT, one Next.js container plus PostgreSQL, cookieless, and a v3 line (v3.4.0 as of September 2026) whose free build covers funnels, journeys, retention, revenue, segments and cohorts, tracking links and pixels (3.0), session replays and Web Vitals (3.1) and heatmaps (3.2), with a managed cloud beside it rather than behind a paywall. Upstream's compose is the whole install; our 1 GB floor is our estimate for app and database together. The one hard requirement is the database: v3 is PostgreSQL only.
Follow the Umami deploy guide →What you need
- Any VPS with at least 1024 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- Under an hour if you've used Docker before
Paid link — we earn a commission if you shop through it.
Install
Run these commands on your server:
# Umami — official compose (app + PostgreSQL)
git clone https://github.com/umami-software/umami umami
cd umami
# set a strong APP_SECRET in docker-compose.yml, then:
docker compose up -d # → http://SERVER_IP:3000 (admin / umami)What you take on
Umami is low-drama to operate; its defaults are what you need to change:
An alternative to
Head-to-head
A single Go binary on a SQLite file vs. the lightest modern analytics dashboard.
GA-grade depth vs. analytics you can forget you're running.
Polished and opinionated vs. featherweight and deeper.
Funnels, journeys and replays on both — two containers on 1 GB, or six on ClickHouse and 2 GB.