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

Price in currencies:
11.82 $ · 838 RUB · 10.77 €
Category:
Others
Item:
plausible-analytics-vps-v1.0.zip (62.8 KB)
Uploaded:
25.11.2026 11:37:48
Sales:
0
Refunds:
0
Seller:
Новинка Супер хит! · about the seller and their products
11.82 $

You will choose the payment method — bank card, cryptocurrency, WebMoney, Alipay, PIX, UPI and others — on the next step. See «Payment methods» for details.

DESCRIPTION

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

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 — 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 .
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: https://plati.market/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: https://plati.market/itm/your-own-rss-reader-on-a-vps-freshrss-docker-stack-guide/6439414
• Portainer: Manage Docker Containers in a Web Panel. Compose + Guide: https://plati.market/itm/portainer-manage-docker-containers-in-a-web-panel-compose-guide/6429324
• Website Uptime Monitoring Without Docker: cron + curl + Telegram. Scripts + Guide: https://plati.market/itm/website-uptime-monitoring-without-docker-cron-curl-telegram-scripts-guide/6429385
• VPS Disk Monitoring: Space, Growth, Telegram Alerts: https://plati.market/itm/vps-disk-monitoring-space-growth-telegram-alerts/6439442
• Nginx Log Rotation and Analysis: Who Loads Your Site. Script + Guide: https://plati.market/itm/nginx-log-rotation-and-analysis-who-loads-your-site-script-guide/6432375

REVIEWS

Reviews: (0)

No customer reviews yet.

More in «Others»

All items in «Others» →