Self-Host Matomo with Docker Compose
Matomo is the powerful Google Analytics alternative that gives you complete control over your data. Includes heatmaps, session recordings, A/B testing, and ecommerce tracking.
Minimum Hardware Requirements
version: '3.8'
services:
matomo:
image: matomo:latest
container_name: matomo
restart: unless-stopped
ports:
- "80:80"
environment:
- NODE_ENV=production
- TZ=UTC
volumes:
- matomo_data:/data
volumes:
matomo_data:
driver: local
docker-compose.yml and run:
docker compose up -d
VPS RAM & Server Sizing Calculator
Planning to run Matomo alone or alongside other self-hosted containers on one VPS? Toggle apps to calculate your exact RAM needs with a 25% safety buffer.
Matched Cloud VPS Tiers for Selected Workload:
Replaces Google Analytics 360
Commercial cloud solution with per-user monthly subscription fees.
More Analytics Apps View All →
Compare Matomo
Benchmark specs head-to-head with other open-source alternatives
Compare Matomo Side-by-Side
Select any open-source tool from the dropdown to run a hardware, memory, and popularity benchmark against Matomo.