Deploy Matomo with Docker
- Order a FlashRDP Linux VPS with Ubuntu 22.04 or 24.04. SILVER suits most sites; choose GOLD for high traffic.
- Log in via SSH.
- Install Docker and the Compose plugin from Ubuntu’s repositories:
- Get Matomo’s official Docker example and move into the Nginx setup:
- Create a
.envfile with random database passwords, readable only by you: - Start the stack:
- Open
http://YOUR_SERVER_IP:8080and complete Matomo’s setup wizard.
Deploy PostHog (hobby setup)
PostHog offers a free Docker Compose “hobby” deployment under the MIT license. PostHog’s documentation lists at least 4 vCPU and 16 GB RAM, so use GOLD or above. PostHog doesn’t provide support for self-hosted instances and recommends its cloud product above a few hundred thousand events per month. See PostHog’s self-host docs for the current install command and limits before you start.Data location: With a self-hosted setup, your analytics database lives on your FlashRDP server’s SSD storage in Phoenix, AZ or Paris, France, and nobody else’s tracking servers process it. Turn on backups or export the database regularly.