Your Own Analytics on a VPS: Plausible in Docker, No Google Analytics. Stack + Guide Your Own Analytics on a VPS: Plausible in Docker, No Google Analytics. Stack + Guide
Your Own Analytics on a VPS: Plausible in Docker, No Google Analytics. Stack + Guide
Your Own Analytics on a VPS: Plausible in Docker, No Google Analytics. Stack + Guide

Your Own Analytics on a VPS: Plausible in Docker, No Google Analytics. Stack + Guide

Sold <10
0 000 X
There are no such quantities in stock
By clicking the button, you agree to terms for buyers
Secure deal
Instant delivery

Product description

Plausible is a lightweight open-source analytics tool for your website: visits, sources, pages, countries and devices — with no cookie banners, no user tracking and no data sent to Google. This package runs Plausible on your VPS in Docker: three containers — Plausible itself (dashboard and event intake), Postgres (sites, users, settings) and ClickHouse (events and statistics). All data stays on your own server.

Setup is one command: fill in BASE_URL and the first admin´s details in .env and run ./install.sh. The script checks Docker, generates secret keys (SECRET_KEY_BASE, TOTP_VAULT_KEY) if they are empty, and starts the stack with database migrations. The first start takes 1–3 minutes: Plausible waits for the databases, creates tables and starts the server.

Domain and HTTPS go through nginx: Plausible listens on 127.0.0.1:8000, published with proxy_pass and a Let´s Encrypt certificate (certbot). The guide includes a ready nginx config and the certificate commands. Then add a site in the dashboard, paste the tracking snippet into your site´s <head> — and visits show up in Realtime within 1–2 minutes.

Your own visits won´t skew the stats: the guide shows three ways to exclude your traffic — localStorage in your browser (most reliable), by IP in the site settings, and the Plausible browser extension.

Backups run with ./backup.sh: a Postgres dump, a ClickHouse volume snapshot and configs into backups/YYYY-MM-DD_HHMM; old backups rotate, 7 most recent kept by default. The guide has a ready cron line for every night at 03:00 and step-by-step restore on a new server.

WHAT´S INSIDE THE ARCHIVE
• docker-compose.yml — stack: Plausible + Postgres 16 + ClickHouse 24.3
• .env.example — sample settings: domain, port, secrets, first admin
• install.sh — Docker check, secret generation, stack startup
• backup.sh — Postgres dump, ClickHouse snapshot, backup rotation
• test_plausible.py — automated package tests, no live VPS needed
• README.md and PDF — full guide: setup, domain+HTTPS, snippet, own traffic, backup, troubleshooting

GUIDE STEPS
1. .env: BASE_URL, ADMIN_* — then ./install.sh starts the stack.
2. Domain + HTTPS: nginx as a proxy to 127.0.0.1:8000, certbot.
3. First site in the dashboard and the tracking snippet in the site´s <head>.
4. Exclude your own traffic: localStorage or by IP.
5. Backup: ./backup.sh and cron every night at 03:00.
6. Check: a visit in Realtime within 1–2 minutes.
7. Update: backup, change the image tag, pull + up -d.

WHAT YOU NEED
A VPS with Ubuntu 22.04/24.04 or Debian 12, at least 2 GB RAM and 20 GB disk, Docker Engine + Compose v2, a domain with an A record pointing at the VPS IP. 15–20 minutes to set up.

HONEST LIMITS
This is self-hosted analytics on your own server: you are responsible for the VPS, domain, HTTPS and backups. Statistics start only from the moment the snippet is installed: Plausible cannot recover past visits. Ad blockers and privacy-hardened browsers miss some visits — that´s true of any JS analytics. New-user registration is disabled by default (DISABLE_REGISTRATION=true): the admin adds new users in the dashboard. Email notifications are not configured — password recovery by email needs an external SMTP server, not included in this package. The script doesn´t count visits without JS and doesn´t replace server logs. Changing database passwords after the first start requires recreating the volumes — change them before installing, or via a backup.

IMPORTANT
These are files and a guide for self-setup — not a done-for-you installation. If you need Plausible installed on your server turnkey, that´s a separate service.

SIMILAR PRODUCTS
• WordPress on Docker with Redis Object Cache: Fast Stack, nginx, Check Script + Guide: /itm/wordpress-on-docker-with-redis-object-cache-fast-stack-nginx-check-script-guide/6434996
• Your Own RSS Reader on a VPS (FreshRSS, Docker). Stack + Guide: /itm/your-own-rss-reader-on-a-vps-freshrss-docker-stack-guide/6439414
• Portainer: Manage Docker Containers in a Web Panel. Compose + Guide: /itm/portainer-manage-docker-containers-in-a-web-panel-compose-guide/6429324
• Website Uptime Monitoring Without Docker: cron + curl + Telegram. Scripts + Guide: /itm/website-uptime-monitoring-without-docker-cron-curl-telegram-scripts-guide/6429385
• VPS Disk Monitoring: Space, Growth, Telegram Alerts: /itm/vps-disk-monitoring-space-growth-telegram-alerts/6439442
• Nginx Log Rotation and Analysis: Who Loads Your Site. Script + Guide: /itm/nginx-log-rotation-and-analysis-who-loads-your-site-script-guide/6432375

Main features

  • Content type File
  • Content description 62,8 kB
  • Updated on the site 25.11.2026

Images

Reviews

No reviews yet

0 000 X
There are no such quantities in stock
By clicking the button, you agree to terms for buyers
Your Own Analytics on a VPS: Plausible in Docker, No Google Analytics. Stack + Guide
1 Sold <10
0 000 X
Secure deal
Instant delivery

You viewed

All images, logos, and names of games, programs, and other products used are taken from public sources and are for informational purposes only. All trademarks, logos, names, and other intellectual property belong to their respective owners. Use of such images on the website does not imply any affiliation or connection with the copyright holders.