Back to Apps
Plausible v2.1.4

Deploy Plausible v2.1.4 on Your Own Server

Plausible is a lightweight and open-source website analytics tool.

πŸ“Š Analytics

Want to deploy Plausible v2.1.4 on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.

Get Started

What is Plausible v2.1.4?

Plausible is a lightweight and open-source website analytics tool. It doesn't use cookies and is fully compliant with GDPR, CCPA and PECR. Made and hosted in the EU. This one click app uses the: - official image from https://github.com/plausible/analytics/pkgs/container/community-edition - official PostgreSQL image based on Alpine Linux and - ClickHouse image https://hub.docker.com/r/clickhouse/clickhouse-server. This version includes an open source geoip database (db-ip). If you would like to use Maxmind db, You will need to mount a volume and an additional container to update the database. You can use this docker compose file for reference: https://github.com/plausible/hosting/blob/master/geoip/docker-compose.geoip.yml This uses Plausible's inbuilt smtp Bamboo.Mua for sending emails instead of an extra SMTP container.

Self-Host Plausible v2.1.4

Follow these steps to deploy on your own server.

1

Install Docker

Skip this step if Docker is already installed on your server.

curl -fsSL https://get.docker.com | sh
2

Configure

Customize the settings below. Defaults work for most cases.

General
3

Deploy

Copy the configuration and run it on your server.

services:
  plausible:
    environment:
      BASE_URL: http://plausible.your-domain.com
      CLICKHOUSE_DATABASE_URL: http://plausible-clickhouse:8123/plausible
      DATABASE_URL: postgres://plausible:plausible@plausible-postgres:5432/plausible
      DISABLE_REGISTRATION: "true"
      MAILER_ADAPTER: Bamboo.Mua
      MAILER_EMAIL: ""
      SECRET_KEY_BASE: 56666708182165766172d8df4401459ed7d954727479260ccf4eaa8575504253
      SMTP_HOST_ADDR: smtp.mailgun.org
      SMTP_HOST_PORT: "587"
      SMTP_USER_NAME: ""
      SMTP_USER_PWD: ""
      TOTP_VAULT_KEY: ""
    depends_on:
      - plausible-postgres
      - plausible-clickhouse
  plausible-clickhouse:
    image: clickhouse/clickhouse-server:24.3.3.102-alpine
    volumes:
      - plausible-clickhouse-data:/var/lib/clickhouse
  plausible-postgres:
    image: postgres:16-alpine
    environment:
      POSTGRES_PASSWORD: plausible
      POSTGRES_USER: plausible
    volumes:
      - plausible-postgres-data:/var/lib/postgresql/data
volumes:
  plausible-clickhouse-data: {}
  plausible-postgres-data: {}

Then run:

docker compose up -d
4

Access

Once started, access your app at http://localhost:8000

Why Self-Host Plausible v2.1.4?

Full Data Ownership

Your data stays on your servers. No third-party access.

No Monthly Fees

Pay only for your server. No per-seat or usage charges.

Complete Control

Customize, backup, and scale on your own terms.

Privacy & Compliance

Meet GDPR, HIPAA, or internal security requirements.

Technical Details

Want to go faster?

Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.

Install on any Linux server:

sh -c "$(curl -sSL https://get.senate.sh)"