What is Plausible?
Plausible is privacy-friendly web analytics: a clean, single-page dashboard that tells you what you need to know without cookies, without collecting personal data, and without a consent banner. The tracking script is roughly 75x smaller than Google Analytics. This is the self-hosted Community Edition.
It is a real analytics stack: the app and a managed Postgres for accounts and settings, plus a ClickHouse sidecar that stores the event data. Lyngbak has no managed ClickHouse, so it runs as a private sidecar - a thin wrapper bakes the four tuning configs from Plausible’s official setup (ClickHouse otherwise assumes a 16 GB box) and another bakes the database migration step Plausible does not run on its own.
You already have lighter analytics in this catalogue with umami; Plausible adds funnels, goals, custom events, and a more polished dashboard for when a project needs them - all with the visitor data sitting on infrastructure you own.
What you get
- Cookie-free, no consent banner needed, GDPR-friendly
- Tiny tracking script (~75x smaller than GA)
- Goals, funnels, custom events, and UTM tracking
- Managed Postgres + a private ClickHouse sidecar
- First registration becomes owner; later signups invite-only
- AGPL-3.0; your visitor data on your own infrastructure
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
plausible | analytics app (:5000) | yes |
clickhouse | event store (private sidecar) | no |
db | managed Postgres (accounts/settings) | no |
Before you deploy
SECRET_KEY_BASE>= 64 bytes (openssl rand -base64 48), stable across deploys
BASE_URLthe https domain, matched exactly (WebSocket/login)
Sizing and billing
Budget ~3 GB usable: the app ~1 GB, ClickHouse ~2 GB (the baked low-resources config keeps it honest). Events live in ClickHouse on its own volume; app data in managed Postgres.
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 24.53 GiB of volumes cost $0.15 per GiB a month ($3.68/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| Fathom | Starter | $15/mo | $15/mo (100k pageviews) |
| Plausible Cloud | Growth | $9/mo | from $9/mo, metered by pageviews |
Self-hosted Plausible is not metered by pageviews, with visitor data on your own infrastructure. 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 is this different from the umami template?
Both are privacy-friendly analytics. Umami is lighter (a single app on Postgres); Plausible adds funnels, goals, and a more polished dashboard at the cost of a ClickHouse sidecar. Pick umami for minimal, Plausible for more depth.
Why does it need ClickHouse?
Plausible stores pageview events in ClickHouse, a columnar database built for fast analytics queries. Lyngbak has no managed ClickHouse, so this template runs it as a private sidecar with a durable volume and the official low-resource tuning baked in.
What does it cost compared to Plausible Cloud?
Plausible Cloud prices by pageviews. Self-hosted, traffic is not metered - you pay for the compute the stack reserves, on a flat resource or by the second on Usage Billing - and the visitor data stays on your own infrastructure; the trade is that you run the ClickHouse sidecar yourself.