
Fathom Analytics
Lightweight, privacy-focused analytics
Deploy Fathom Analytics in 3 Steps
Connect Your VPS
Add your server credentials to Server Compass
Select Fathom Analytics
Choose from our template library
Deploy & Configure
Fill in settings and click Deploy
Install Fathom Analytics Manually
Set up Fathom Analytics yourself using Docker Compose and the command line.
Connect to Your VPS via SSH
Fire up your terminal application and establish a connection to your remote server.
# Access your VPS
ssh root@YOUR_SERVER_IP
# With SSH key authentication
ssh -i ~/.ssh/your-private-key root@YOUR_SERVER_IPFirst time? Ensure Docker is installed first: curl -fsSL https://get.docker.com | sh
Initialize Project Folder
Create a folder to house your Docker Compose configuration.
# Create and navigate to project directory
mkdir -p ~/apps/fathom
cd ~/apps/fathomCreate Docker Configuration
Define your services in a docker-compose.yml file:
services:
fathom:
image: usefathom/fathom:latest
ports:
- "8080:8080"
environment:
- FATHOM_SERVER_ADDR=0.0.0.0:8080
- FATHOM_SECRET=<your-fathom-secret>
- FATHOM_DATABASE_DRIVER=sqlite3
- FATHOM_DATABASE_NAME=/var/lib/fathom/fathom.db
- FATHOM_DEBUG=false
- FATHOM_GZIP=true
volumes:
- fathom_data:/var/lib/fathom
restart: unless-stopped
volumes:
fathom_data:
PORTHost port to expose(default: 8080)FATHOM_SECRETSecret for encrypting data and generating keysExecute the Deployment
Start your containers and verify they're running correctly.
# Launch the stack
docker compose up -d
# Verify container status
docker compose ps
# Follow the logs
docker compose logs --followAllow Network Access
Update UFW rules to allow traffic on the application port.
# Allow the application port through firewall
sudo ufw allow 8080/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:8080Don't want to type commands? We've got you.
No terminal needed. Deploy Fathom Analytics through a visual dashboard with automatic configuration.
- No terminal required
- Point-and-click setup
- Auto SSL certificates
- Rolling deployments
- Health monitoring
- Instant rollbacks
After Deployment
After deploying Fathom Analytics with Server Compass, complete these steps to finish setup
Create the first admin user via the UI
Configure your site domains inside Fathom
Need help? Check out our documentation for detailed guides.
Fathom Analytics FAQ
Common questions about self-hosting Fathom Analytics
How do I deploy Fathom Analytics with Server Compass?
Simply download Server Compass, connect to your VPS, and select Fathom Analytics 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 Fathom Analytics?
Fathom Analytics requires a minimum of 256MB RAM. We recommend a VPS with at least 1024MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Can I migrate my existing Fathom Analytics data?
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Fathom Analytics backup and restore procedures.
How do I update Fathom Analytics to the latest version?
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Fathom Analytics image will be pulled and deployed with zero downtime.
Is Fathom Analytics free to self-host?
Fathom Analytics 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 Fathom Analytics?
Download Server Compass and deploy Fathom Analytics to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass


