What is Umami?
Google Analytics became a compliance question; the answer for most sites is privacy-first analytics: no cookies, no cross-site tracking, no consent banner needed, and a dashboard that shows what you actually check - visitors, referrers, pages, countries, events. Umami is the open-source standard of that category.
This template runs Umami v3 (PostgreSQL-only since v3) as one stateless container on a managed Postgres that Lyngbak provisions and auto-wires. One secret (APP_SECRET), a default admin/umami login to change on first visit, and a ~2 KB script tag for your sites.
Hosted privacy analytics price per pageview tier and per site. Self-hosted Umami has neither meter: track every site you own, keep the data on your infrastructure, and let the database be the only thing that grows.
What you get
- Cookie-free, GDPR/PECR-friendly - no consent banner required
- ~2 KB tracking script; realtime dashboard, UTM and event tracking
- Unlimited websites, team members, and events
- Stateless container on a managed Postgres - migrations run on start
- Public share URLs for dashboards
- API for custom reporting
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
umami | dashboard + collection API (:5000) | yes |
db | Postgres - managed service on Lyngbak, container locally | no |
Before you deploy
APP_SECRETsigns auth tokens (openssl rand -hex 32)
Sizing and billing
512 MiB for the app is plenty; the managed Postgres carries the data. Millions of pageviews a month fit comfortably in this footprint.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 5 GiB of volumes cost $0.15 per GiB a month ($0.75/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| Plausible | Starter | $9/mo | 1 site, 10k pageviews/mo, 3-year retention |
| Fathom | entry | $15/mo | 100k pageviews/mo across up to 50 sites |
| Umami Cloud | paid | $20/mo | 1M events/mo, then $0.02 per extra 1k events |
Self-hosted Umami has no site or event caps and keeps visitor data on your infrastructure - the entire point of privacy-first analytics. Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
How does self-hosted Umami compare to Plausible or Fathom pricing?
Plausible’s entry plan covers one site and 10k pageviews, Fathom’s 100k, Umami Cloud’s 1M events - all priced by tier. This stack has no site, pageview, or event caps - and the visitor data never leaves your infrastructure.
Do I still need a cookie consent banner?
Not for Umami itself - it sets no cookies and stores no personal identifiers, which is the design goal of privacy-first analytics. (Your other scripts may still need consent; Umami stops being the reason.)
How do I add a website?
Log in, add the site in the dashboard, and paste the generated script tag - https://your-domain/script.js with your website id - into your pages. Data appears in realtime; UTM parameters and custom events work out of the box.
Can it handle real traffic volumes?
Yes - the collection endpoint is a lightweight Next.js API writing to Postgres, and a 1 GiB managed instance absorbs millions of monthly pageviews. Past that, scale the database plan before the app.
Why is Umami v3 Postgres-only?
Upstream dropped MySQL in v3.0 to focus the schema and migrations on one engine. Convenient here: the managed Postgres is exactly what it wants, auto-provisioned and auto-wired.