Hostinger Black Friday deal: VPS hosting up to 70% off
Ad

Try describing what you need:

OpenPanel logo

OpenPanel

★ 7.3k

A self-hosted alternative to Google Analytics

GNU Affero General Public License v3.06 Containers — 6 containers — moderate hosting footprintDocker · Compose · Package +1Needs Postgres8+ active committers (12mo)

About

OpenPanel is a self-hostable analytics platform for teams that want to understand product and website usage. It brings together capabilities commonly associated with product analytics and web...

Community Ratings

No ratings yet

Features

  • Funnels and cohort analysis
  • User profiles and session history
  • Session replay with privacy controls
  • Real-time dashboards and interactive charts
  • A/B testing and variant breakdowns
  • Event- and funnel-based notifications
  • Cookieless tracking and GDPR compliance
  • Custom dashboards and data visualizations
  • Web, mobile, and server-side tracking
  • Revenue tracking

Details

Last Updated
Nov 29, 2026
Created
Feb 29, 2024
Install Methods
dockerdocker-composepackage-managersource
Requirements
DockerDocker ComposeBunPostgresClickhouseRedis
Default Port
3000dashboard web UI
Authentication
oauth
Privacy & Independence
Cloud: Optional
Deployment

Deployment: Docker Compose ✓6 Containers — moderate hosting footprintRuns as 6 containers

Run OpenPanel yourself

Pick how much you want to manage.

4 more ways to host

Some links earn us a commission. netcup pays us one and is our preferred VPS host. Hostinger is a paid sponsor and is listed first.

Is this your project? Sponsor a listing

Run OpenPanel with Docker Compose

Compose file from the OpenPanel project repository.

6 services · database: postgres · infra: postgres, redis, redpanda · 2 unclassified (clickhouse-server, console)

no resource limits declared

needs persistent storage (10 volumes)

docker-compose.yml · @ 21e87d3 · scanned Nov 26, 2026

version: "3"

services:
  op-db:
    image: postgres:14-alpine
    restart: always
    volumes:
      - ./docker/data/op-db-data:/var/lib/postgresql/data
    ports:
      # Host ports live in the 23000s so a Postgres, Redis, ClickHouse or Kafka on their
      # default ports can run beside this stack.
      - 127.0.0.1:23432:5432
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres

  op-kv:
    image: redis:7.2.5-alpine
    restart: always
    volumes:
      - ./docker/data/op-kv-data:/data
    command: ["redis-server", "--maxmemory-policy", "noeviction"]
    ports:
      - 127.0.0.1:23379:6379

  op-ch:
    image: clickhouse/clickhouse-server:26.1.3.52
    restart: always
    volumes:
      - ./docker/data/op-ch-data:/var/lib/clickhouse
      - ./docker/clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/op-config.xml
      - ./docker/clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/op-user-config.xml
      - ./docker/clickhouse/init-db.sh:/docker-entrypoint-initdb.d/init-db.sh:ro
    environment:
      CLICKHOUSE_DB: openpanel
      CLICKHOUSE_SKIP_USER_SETUP: 1
    ulimits:
      nofile:
        soft: 262144
        hard: 262144
    ports:
      - "127.0.0.1:23123:8123" # HTTP interface
      - "127.0.0.1:23900:9000" # Native/TCP interface
      - "127.0.0.1:23909:9009" # Inter-server communication

  op-rp:
    image: redpandadata/redpanda:v25.1.4
    restart: always
    command:
      - redpanda
      - start
      - --kafka-addr=internal://0.0.0.0:9092,external://0.0.0.0:19092
      - --advertise-kafka-addr=internal://op-rp:9092,external://localhost:23092
      - --rpc-addr=0.0.0.0:33145
      - --advertise-rpc-addr=op-rp:33145
      - --smp=1
      - --memory=1G
      - --mode=dev-container
      - --default-log-level=info
    volumes:
      - ./docker/data/op-rp-data:/var/lib/redpanda/data
      - ./docker/redpanda/bootstrap.yaml:/etc/redpanda/.bootstrap.yaml:ro
    ports:
      - "127.0.0.1:23092:19092" # Kafka API (external)
      - "127.0.0.1:23644:9644"   # Admin API

  # Opt-in (profile "kafka-auth"): standalone broker that requires SASL, with a
  # TLS listener, for verifying KAFKA_SSL/KAFKA_SASL_* support.
  # See docker/redpanda/auth-entrypoint.sh. Not started by `bun run dock:up`.
  op-rp-auth:
    image: redpandadata/redpanda:v25.1.4
    profiles: ["kafka-auth"]
    entrypoint: ["/auth-entrypoint.sh"]
    volumes:
      - ./docker/data/op-rp-auth-certs:/certs
      - ./docker/redpanda/auth-entrypoint.sh:/auth-entrypoint.sh:ro
    ports:
      - "127.0.0.1:23093:23093" # Kafka API, SASL required, plaintext
      - "127.0.0.1:23094:23094" # Kafka API, SASL required, TLS
    healthcheck:
      test: ["CMD-SHELL", "rpk cluster health -X admin.hosts=localhost:9644 | grep -q 'Healthy:.*true'"]
      interval: 5s
      timeout: 3s
      retries: 20

  op-rp-console:
    image: redpandadata/console:v3.7.2
    restart: always
    depends_on:
      - op-rp
    environment:
      KAFKA_BROKERS: op-rp:9092
      REDPANDA_ADMINAPI_ENABLED: "true"
      REDPANDA_ADMINAPI_URLS: http://op-rp:9644
    ports:
      - "127.0.0.1:23080:8080"

This file may be out of date. Check the OpenPanel documentation for current setup steps.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Nov 26, 2026

Alternatives to OpenPanel

Rybbit logo

Rybbit

13.4k
Rybbit is an open source, privacy-friendly web and product analytics platform for tracking site usage and user behavior.
Analytics ToolsCopyleft LicenseSelf Hosting Solutions
6 Containers
Details
Umami logo

Umami

40.5k
Umami is a simple, fast, privacy-focused alternative to Google Analytics.
Analytics ToolsFully FOSSSelf Hosting Solutions+1
Fully FOSS
Details
Matomo logo

Matomo

22.1k
Matomo is a self-hosted, open source web analytics platform that tracks website usage and provides real-time reports.
Analytics ToolsSelf Hosting SolutionsConsent Management+1
Details
Prisme Analytics logo

Prisme Analytics

136
An open source, privacy-focused analytics service for websites and web applications.
Analytics ToolsPermissive LicenseCopyleft License+1
Open Core
Details
Medama Analytics logo

Medama Analytics

645
Cookie-free, privacy-focused website analytics that can be self-hosted.
Analytics ToolsSelf Hosting SolutionsPermissive License
Details
Swetrix logo

Swetrix

76
Swetrix is a privacy-focused, cookieless, open-source alternative to Google Analytics for tracking traffic, performance, sessions, and user flows.
Analytics ToolsSelf Hosting SolutionsCopyleft License
Details
PostHog logo

PostHog

41.2k
PostHog is a product analytics and observability platform that collects product data and provides tools to analyze it, improve products, and act on user behavior.
Analytics ToolsFeature TogglesPermissive License+2
Freemium
Details
Offen logo

Offen

985
Offen Fair Web Analytics is a self-hosted, privacy-focused web analytics platform that lets site owners collect insights while giving users access to their own data.
Analytics ToolsSelf Hosting SolutionsConsent Management+1
Details
Plausible Analytics logo

Plausible Analytics

30.0k
An open source, privacy-first web analytics tool for tracking website traffic and conversions.
Analytics ToolsFOSS with IssuesCopyleft License+2
Open CoreFOSS with Issues
Details
Aptabase logo

Aptabase

1.9k
Aptabase is an open-source, privacy-first analytics platform for mobile, desktop, and web apps.
Analytics ToolsCopyleft LicenseSelf Hosting Solutions
Details
OpenReplay logo

OpenReplay

13.2k
OpenReplay is a self-hosted experience platform for session replay, cobrowsing, product analytics, and debugging.
Analytics ToolsTesting ToolsFeature Toggles+2
2 ContainersFOSS with Issues
Details
Vince logo

Vince

2.0k
Vince is a self-hosted analytics alternative to Google Analytics.
Analytics ToolsCopyleft LicenseSelf Hosting Solutions
Details

Related Software

Ackee logo

Ackee

4.7k
Ackee is a self-hosted, privacy-focused web analytics tool that analyzes website traffic and provides statistics.
Analytics ToolsSelf Hosting Solutions
2 Containers
Details
Highlight.io logo

Highlight.io

9.4k
An open-source, full-stack monitoring platform for session replay, error monitoring, logging, and traces.
Analytics ToolsSelf Hosting Solutions
Details
Liwan logo

Liwan

233
Liwan is a privacy-first web analytics tool that provides real-time visitor and pageview tracking for websites.
Analytics ToolsPermissive LicenseSelf Hosting Solutions
Details
oxitraffic logo

oxitraffic

22
Self-hosted, simple and privacy respecting website traffic tracker
Self Hosting SolutionsAnalytics Tools
Details
Rejourney logo

Rejourney

283
Lightweight session replay and observability for mobile and web apps, with pixel-perfect capture and real-time incident detection.
Analytics ToolsTesting ToolsSelf Hosting Solutions
15 ContainersSource Available
Details
Operational.co logo

Operational.co

478
Operational.co is an open-source event tracking tool for monitoring signups, webhooks, cron jobs, and other critical events.
Miscellaneous ToolsCopyleft LicenseAnalytics Tools+2
Details
Flagsmith logo

Flagsmith

10.5k
Flagsmith is an open-source feature flagging and remote config platform for controlling feature rollouts and releases.
Feature TogglesSelf Hosting SolutionsAnalytics Tools+1
Open Core
Details
Formbricks logo

Formbricks

13.3k
Formbricks is an open source survey and experience management platform for collecting feedback through in-app, website, link, and email surveys.
Polls and EventsFOSS with IssuesOpen-Washing Risk+3
Open CoreFOSS with Issues
Details