PostHog is an open-source product analytics platform that combines event analytics, session replay, and feature management into a single stack. It supports a self-hosted deployment path that runs on Docker-based infrastructure, making it suitable for teams that want control of data and operations. The project is implemented with a modern web stack and published under the MIT license.
PostHog self-hosted deployments consist of multiple services:
| Component | Purpose |
|---|---|
| PostgreSQL | Metadata database (users, dashboards, settings) |
| ClickHouse | Analytics database (event storage and queries) |
| Redis | Caching and session storage |
| Kafka + Zookeeper | Message queue for event ingestion |
| Caddy | Reverse proxy and TLS termination |
| MinIO | Object storage (session recordings, exports) |
Any questions?
Feel free to contact us. Find all contact information on our contact page.