Skip to content

Template · Analytics

Plausible Analytics

Privacy-friendly web analytics (Community Edition) with Postgres and ClickHouse.

Deploy on Skiffly

Opens the dashboard with this template pre-selected. Sign in with GitHub if you are new; the free tier needs no card.

  • Postgrespostgres:16
  • ClickHouseclickhouse/clickhouse-server:25.8
  • Plausibleghcr.io/plausible/community-edition:v3
Upstream documentation

What gets deployed

3 services in the environment you pick, on the private network of the project.

About this template

ghcr.io/plausible/community-edition:v3 + PostgreSQL 16 + ClickHouse 25.8. Migrations run on start.

After deploy

Register the first user on the public URL, then set DISABLE_REGISTRATION=true.

Postgres

Image: postgres:16

  • Port 5432/tcp
  • 10 GB volume at /var/lib/postgresql/data
  • 1 vCPU · 1 GB

ClickHouse

Image: clickhouse/clickhouse-server:25.8

  • Port 8123/tcp
  • 20 GB volume at /var/lib/clickhouse
  • 2 vCPU · 2 GB

Plausible

Image: ghcr.io/plausible/community-edition:v3

  • Port 8000/http
  • Public domain with TLS
  • 1 vCPU · 1 GB
  • /api/health

/entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run

Variables

Generated secrets never leave the platform; references are resolved on the private network. Anything marked required is asked for at deploy time.

Postgres

NameValue
POSTGRES_USERpostgresSuperuser name
POSTGRES_PASSWORDgenerated (password)Generated at deploy
POSTGRES_DBplausible_dbDatabase created on first start
PGDATA/var/lib/postgresql/data/pgdata
DATABASE_URLpostgresql://${{self.POSTGRES_USER}}:${{self.POSTGRES_PASSWORD}}@${{self.SKIFFLY_PRIVATE_DOMAIN}}:5432/${{self.POSTGRES_DB}}Connection string on the private network

ClickHouse

NameValue
CLICKHOUSE_USERdefault
CLICKHOUSE_PASSWORDgenerated (password)
CLICKHOUSE_DBplausible_events_db
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT1
CLICKHOUSE_URLhttp://${{self.CLICKHOUSE_USER}}:${{self.CLICKHOUSE_PASSWORD}}@${{self.SKIFFLY_PRIVATE_DOMAIN}}:8123/${{self.CLICKHOUSE_DB}}HTTP interface (port 8123)

Plausible

NameValue
BASE_URLhttps://${{self.SKIFFLY_PUBLIC_DOMAIN}}
HTTP_PORT8000
SECRET_KEY_BASEgenerated (secret)
TOTP_VAULT_KEYgenerated (base64_32)
DATABASE_URL${{Postgres.DATABASE_URL}}
CLICKHOUSE_DATABASE_URLhttp://${{ClickHouse.CLICKHOUSE_USER}}:${{ClickHouse.CLICKHOUSE_PASSWORD}}@${{ClickHouse.SKIFFLY_PRIVATE_DOMAIN}}:8123/${{ClickHouse.CLICKHOUSE_DB}}
DISABLE_REGISTRATIONfalse

Deploy button for your README

Add a one-click deploy link to your repository or docs. Two variants: for light and dark backgrounds.

Deploy on SkifflyDeploy on Skiffly
Markdown · Light background
[![Deploy on Skiffly](https://skiffly.dev/button.svg)](https://skiffly.dev/templates/plausible)
Markdown · Dark background
[![Deploy on Skiffly](https://skiffly.dev/button-dark.svg)](https://skiffly.dev/templates/plausible)
HTML
<a href="https://skiffly.dev/templates/plausible"><img src="https://skiffly.dev/button.svg" alt="Deploy on Skiffly" height="32"></a>

Deploy Plausible Analytics in one click

Volumes, secrets and domain pre-wired. Runs on EU nodes, paid per minute from a prepaid balance.