Deploy Umami on Ubuntu with Docker — a clean, fast, and privacy-respecting web analytics platform. Track pageviews, sessions, and events across multiple websites from one dashboard, without storing any personal data.
Grab the automated bash script from GitHub to follow along with the video.
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/analytics/umami/umami-ubuntu.sh
chmod +x umami-ubuntu.sh
sudo bash umami-ubuntu.sh
The script installs Docker, starts Umami with a MySQL database, and auto-generates secure DB credentials.
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/analytics/umami/umami-ubuntu.sh
chmod +x umami-ubuntu.sh
sudo bash umami-ubuntu.sh
Open your browser and navigate to Umami. Login with the default credentials — change them immediately after first login:
http://<your-server-ip>:3002
Username: admin
Password: umami
Go to Settings → Websites → Add website. Enter your site's name and domain. Umami will generate a unique tracking ID and script snippet for your site.
Copy the generated <script> tag from the website settings and add it to your site's <head> section. Traffic will start appearing in your dashboard immediately. Umami works without cookies and is fully GDPR-compliant.
| Port | Purpose |
|---|---|
| 3002 | Umami Web Dashboard |