You’ve got a dozen services running in your homelab — and no idea when one of them silently dies at 3 AM. By the time you notice, your photo backup has been broken for a week. Uptime Kuma fixes that: it watches every service, checks them on a schedule, and pings you the moment something fails.
This guide shows you how to self-host Uptime Kuma with Docker. It’s one of the highest-value containers you can add to any homelab, and it takes under 15 minutes.
What is Uptime Kuma?
Uptime Kuma is a self-hosted monitoring tool. You give it a list of services, and it checks them on a schedule — is that website up? Is that port responding? Is that server pingable? — and alerts you the moment anything fails.
It’s the self-hosted answer to tools like UptimeRobot or Pingdom, but free, private, and yours.
Why monitor your homelab?
- Catch failures early — know about problems in minutes, not weeks.
- See response times — spot services getting slow before they break.
- Proof of uptime — a status page you can show others.
- Peace of mind — you built it; now you can prove it works.
What you need
- A mini PC or server with Docker.
- About 15 minutes.
Step 1: Create the Docker Compose file
services:
uptime-kuma:
image: louislam/uptime-kuma:latest
container_name: uptime-kuma
restart: always
ports:
- "3001:3001"
volumes:
- ./data:/app/data
Step 2: Start it
docker compose up -d
Open http://your-server-ip:3001 and create your admin account.
Step 3: Add your first monitor
Click “Add New Monitor”, choose a type (HTTP, HTTPS, TCP, ping, DNS, and more), and enter the URL or host. Uptime Kuma immediately starts checking it on a schedule — every 60 seconds by default — and recording the history.
Add a monitor for each of your services: Nextcloud, Jellyfin, your reverse proxy, even your router. The dashboard shows a heartbeat list that’s easy to scan at a glance.
Monitor types worth knowing
- HTTP(S) — checks a website returns a healthy status code.
- TCP — checks a port is open (great for databases and internal services).
- Ping — checks a host is reachable at all.
- DNS — checks a domain resolves correctly.
- Push — you send a heartbeat from a cron job; if it stops, Uptime Kuma alerts you.
Create a public status page
Uptime Kuma can generate a clean, public status page — perfect for showing “system status” to anyone who uses your services. It’s optional, but it’s a nice touch once you have a few things monitored.
Notifications: get pinged when something breaks
Uptime Kuma supports dozens of notification channels. The most useful for a homelab:
- Telegram — a bot that messages you on failure.
- Email — simple and reliable.
- Webhook — pipe failures into anything, including n8n.
Set up at least one, or the monitoring is just a dashboard you never look at.
Group your monitors and use tags
Once you have more than a handful of monitors, the dashboard gets noisy. Use tags and groups to organize them — for example, a group for “web services”, one for “internal”, one for “remote”.
Grouping makes the heartbeat list scannable, and it lets you apply settings (like notification channels) to a whole group at once instead of editing each monitor individually.
Maintenance windows
About to reboot a server or update a container? Enable a maintenance window for that monitor first. Uptime Kuma pauses checks during the window, so you don’t get a flood of false “your service is down” alerts every time you do routine maintenance.
It’s a small feature, but it’s the difference between alerts you trust and alerts you’ve learned to ignore.
Customize your status page
The public status page is useful, but the default is plain. Uptime Kuma lets you add a logo, a description, and custom CSS. A quick once-over turns it into a professional-looking page you can actually share with users — or just keep for yourself as an at-a-glance health check.
Common mistakes to avoid
- No notification channel — alerts only help if you actually receive them.
- Monitoring only web services — internal ports and databases need monitoring too.
- Forgetting to back up the data volume — it holds your monitor config and history.
FAQ
Is Uptime Kuma really free?
Yes. It’s open source and free to self-host — no plans, no limits.
Can it monitor services on other machines?
Yes — it can monitor anything reachable over the network, not just the machine it runs on.
What’s the difference between Uptime Kuma and Grafana?
Uptime Kuma is focused on uptime and alerts. Grafana is a full metrics/visualization platform. Many homelabs run both: Uptime Kuma for “is it up?”, Grafana for “how is it performing?”.
Advanced check types
Beyond the basics, Uptime Kuma supports checks that catch subtler failures:
- HTTP with keyword — fail if the response doesn’t contain a word you expect (“healthy”, a version string).
- JSON query — check a specific field in a JSON API response.
- Certificate expiry — alert before a TLS certificate runs out, so renewals never surprise you.
These matter because “returns 200” isn’t the same as “working correctly.” A service can return a success code while serving an error page — keyword checks catch exactly that.
The API and integrations
Uptime Kuma has a REST API you can script against, and its notification webhooks mean it plugs into almost anything. A common pattern: Uptime Kuma detects a failure, fires a webhook, and an n8n workflow takes over — restarts the container, opens a ticket, or pages you.
Monitoring is most useful when it does something, not just when it shows a red dot. Wire it into your automation and downtime starts fixing itself.
The bottom line
Uptime Kuma turns “I hope my services are working” into “I know exactly which services are working.” It’s free, fast to set up, and — like everything else in a Docker-based homelab — it runs quietly in the background making your life easier.