Free & Open-Source DevOps Hub: 100% Valid Docker Compose configs & verified hardware benchmarks Try VPS RAM Calculator →
analytics ⭐ Featured Self-Hosted Stack Docker: ghcr.io/plausible/community-edition:latest

Self-Host Plausible CE with Docker Compose

Plausible Analytics is an intuitive, lightweight and open-source web analytics tool. No cookies and fully compliant with GDPR, CCPA and PECR. Made and hosted in the EU.

GitHub Stars
★ 21,400
GitHub Forks
1,200
Language
Elixir
License
AGPL-3.0
Last Commit
3 days ago

Minimum Hardware Requirements

RAM
Minimum Memory
2 GB
CPU
Processor
2 Core(s)
DISK
Storage Required
20 GB NVMe
docker-compose.yml
version: '3.8'

services:
  plausible-ce:
    image: ghcr.io/plausible/community-edition:latest
    container_name: plausible-ce
    restart: unless-stopped
    ports:
      - "8000:8000"
    environment:
      - NODE_ENV=production
      - TZ=UTC
    volumes:
      - plausible-ce_data:/data

volumes:
  plausible-ce_data:
    driver: local
Save to docker-compose.yml and run: docker compose up -d

Key Environment Variables

Recommended baseline environment configuration for this container

Variable Name Default / Recommended Value
BASE_URL https://stats.example.com
SECRET_KEY_BASE generate_64_byte_random_string
CLICKHOUSE_DATABASE_URL http://clickhouse:8123/plausible_events_db
⚡ Embedded DevOps Micro-Tool

VPS RAM & Server Sizing Calculator

Planning to run Plausible CE alone or alongside other self-hosted containers on one VPS? Toggle apps to calculate your exact RAM needs with a 25% safety buffer.

Total Base RAM
Recommended (+25%)
CPU Cores Needed
Disk Storage

Matched Cloud VPS Tiers for Selected Workload:

💰 Commercial Alternative

Replaces Google Analytics 4

Complex cookie-based tracking requiring cookie banners, triggering GDPR fines and cross-device user profiling.

Google Analytics 4 Price: $14.00/mo
Self-Hosted VPS: $5.00/mo
3-Year Savings: $324.00
View All Google Analytics 4 Alternatives

Compare Plausible CE

Benchmark specs head-to-head with other open-source alternatives

Interactive Tool Matchup

Compare Plausible CE Side-by-Side

Select any open-source tool from the dropdown to run a hardware, memory, and popularity benchmark against Plausible CE.

VS
Instant Benchmark Summary Open Full Comparison Page →

RAM
CPU
License

RAM
CPU
License