
Matomo
Privacy-respecting web analytics platform
Deploy Matomo in 3 Steps
Connect Your VPS
Add your server credentials to Server Compass
Select Matomo
Choose from our template library
Deploy & Configure
Fill in settings and click Deploy
Deploy Matomo Yourself
Want full control? Here's how to deploy Matomo yourself using Docker Compose.
Establish SSH Connection
Connect to your remote server using SSH. Make sure you have your server credentials ready.
# Log into your server
ssh root@<your-server-ip>
# If using key-based auth
ssh -i ~/.ssh/my-key root@<your-server-ip>First time? Docker not installed? Run: curl -fsSL https://get.docker.com | sh
Create Project Directory
Set up a directory to store your Docker configuration.
# Create and navigate to project directory
mkdir -p ~/apps/matomo
cd ~/apps/matomoConfigure Docker Compose
Add this configuration to your docker-compose.yml file:
services:
matomo:
image: matomo:latest
ports:
- "8080:80"
environment:
- MATOMO_DATABASE_HOST=db
- MATOMO_DATABASE_DBNAME=matomo
- MATOMO_DATABASE_USERNAME=matomo
- MATOMO_DATABASE_PASSWORD=<your-db-password>
volumes:
- matomo_data:/var/www/html
restart: unless-stopped
depends_on:
db:
condition: service_healthy
db:
image: mariadb:11
environment:
- MARIADB_ROOT_PASSWORD=<your-db-root-password>
- MARIADB_DATABASE=matomo
- MARIADB_USER=matomo
- MARIADB_PASSWORD=<your-db-password>
volumes:
- mariadb_data:/var/lib/mysql
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "healthcheck.sh --connect --innodb_initialized"]
interval: 10s
timeout: 5s
retries: 5
volumes:
matomo_data:
mariadb_data:
PORTHost port(default: 8080)DB_PASSWORDDB passwordDB_ROOT_PASSWORDRoot passwordStart the Services
Execute the deployment and check the container status.
# Deploy the application
docker compose up -d
# Check container health
docker compose ps
# Monitor logs
docker compose logs -f --tail=100Allow Incoming Connections
Enable network access by updating your firewall rules.
# Allow the application port through firewall
sudo ufw allow 8080/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:8080Too complicated? Let Server Compass handle it.
Skip the terminal and deploy Matomo with a visual interface. Configure everything with clicks, not commands.
- Intuitive dashboard
- Deploy in 3 minutes
- Free SSL included
- Blue-green deploys
- Real-time logs
- Version history
After Deployment
After deploying Matomo with Server Compass, complete these steps to finish setup
Complete installation wizard
Add websites to track
Install tracking code
Need help? Check out our documentation for detailed guides.
Matomo FAQ
Common questions about self-hosting Matomo
How do I deploy Matomo with Server Compass?
Simply download Server Compass, connect to your VPS, and select Matomo from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
What are the system requirements for Matomo?
Matomo requires a minimum of 1024MB RAM. We recommend a VPS with at least 2048MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Can I migrate my existing Matomo data?
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Matomo backup and restore procedures.
How do I update Matomo to the latest version?
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Matomo image will be pulled and deployed with zero downtime.
Is Matomo free to self-host?
Matomo is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.
Ready to Self-Host Matomo?
Download Server Compass and deploy Matomo to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass


