Self-host Plausible
Lightweight, privacy-friendly web analytics in a single dashboard — no cookies, no personal data, GDPR-friendly by default. The Google Analytics replacement you can actually read.
Key facts
Pick Plausible Community Edition when you want the dashboard you can read in ten seconds — cookieless, consent-free, one script tag — and you are fine with a three-container stack: Postgres, ClickHouse and the AGPL-3.0 app. The CE README asks for at least 2 GB of RAM "without fear of OOMs" and a CPU with SSE 4.2 or NEON for ClickHouse; that 2 GB floor is upstream's. Know what CE is before you standardise on it: it is the open-core edition of a cloud product, released twice a year and "community-supported only".
Follow the Plausible deploy guide →What you need
- Any VPS with at least 2048 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- About an afternoon — budget time for troubleshooting
Paid link — we earn a commission if you shop through it.
Install
Run these commands on your server:
# Plausible Community Edition — official quick start (README), pinned to the current release tag
git clone -b v3.2.1 --single-branch https://github.com/plausible/community-edition plausible-ce
cd plausible-ce
# BASE_URL must be the real domain you will serve Plausible on, with DNS already pointing at this server
echo "BASE_URL=https://plausible.example.com" >> .env
echo "SECRET_KEY_BASE=$(openssl rand -base64 48)" >> .env
# compose.yml publishes no ports — expose 80/443 with an override; 80 + 443 also enables automatic Let's Encrypt TLS
echo "HTTP_PORT=80" >> .env
echo "HTTPS_PORT=443" >> .env
cat > compose.override.yml << EOF
services:
plausible:
ports:
- 80:80
- 443:443
EOF
docker compose up -d # → https://plausible.example.com (your BASE_URL) — create the first userWhat you take on
Plausible CE is simple to run once up; the surprises are in the licence model and the install repo:
An alternative to
Head-to-head
The full GA replacement vs. the privacy-first dashboard.
Polished and opinionated vs. featherweight and deeper.
The same cookieless, AGPL, 2 GB deal — one adds funnels, sessions and replays, one stays deliberately simple.