Deploy Umami
Before using the one-click template, here is a minimal Docker Compose example for running Umami locally or on your own server.
If you're new to Docker Compose, check out our guide on how to self-host a Docker Compose app. You can also browse more examples in our Docker Compose library.
Self-host Umami with Docker Compose (minimal)β
services:
umami:
image: umami-software/umami:latest
ports:
- "3000:3000"
environment:
DATABASE_URL: postgres://umami:umamipass@db:5432/umami
APP_SECRET: changeme
depends_on:
- db
db:
image: postgres:15
environment:
POSTGRES_DB: umami
POSTGRES_USER: umami
POSTGRES_PASSWORD: umamipass
volumes:
- umami-db:/var/lib/postgresql/data
volumes:
umami-db:
Deploy Umami on Hostim.dev (One-Click)
Umami is a simple, privacy-friendly analytics tool β a lightweight alternative to Google Analytics. Hostim.dev deploys it in one click with PostgreSQL, HTTPS, and persistent storage.
π‘ No server setup. No YAML. Just working analytics.
Guest project runs for 1 hour. Log in to save and extend to 5 days.
Why Host Umami on Hostim.dev?β
- One-click Docker deployment
- Built-in PostgreSQL
- Automatic HTTPS + subdomain
- Real-time logs & metrics
- Free trial, no credit card
What's includedβ
| Resource | Details |
|---|---|
| App | umami-software/umami |
| Database | PostgreSQL |
| Domain | Free *.hostim.dev |
| SSL | Auto-enabled |
| Port | 3000 |
| Defaults | admin / umami |
How to Deployβ
- Go to your Hostim.dev dashboard.
- Create Project β Use a Template.
- Select Umami.
- Choose a plan.
- Deploy.
FAQβ
Where does Umami store analytics data?
All events and website metadata are stored in PostgreSQL.
Is Umami GDPR compliant?
Yes. Umami collects no personal data and uses no cookies.
Do I need to set APP_SECRET?
Yes, set a strong value under Environment Variables for session security.
How do I add my website?
In the dashboard β Websites β Add Website β copy your embed script.
How do I back up my installation?
Back up your PostgreSQL database regularly.
Can I use a custom domain?
Yes. Add it under Networking β Domains.
How do I update Umami?
Docker: docker compose pull && docker compose up -d. Hostim.dev: redeploy
the app.
Alternativesβ
- Plausible β privacy analytics
- Matomo β full-featured self-hosted analytics
- GoAccess β real-time log-based analytics
Source + Docsβ
- GitHub: https://github.com/umami-software/umami
- Docs: https://umami.is/docs
Looking for something else? Browse all templates β