Once your homelab runs a few services, a new problem appears: you only find out something is broken when someone complains. The Pi-hole stops answering, the media server hangs, or the mini PC reboots overnight, and nobody notices until the next morning. A monitoring tool fixes that by checking your services all day and sending you a message the moment one stops responding.
Uptime Kuma is one of the most popular free options. It runs in a single Docker container, has a friendly web dashboard, and takes about ten minutes to set up. This guide shows you how to run Uptime Kuma on a mini PC with Docker Compose, add your first monitors, and get alerts on your phone.
What Uptime Kuma can monitor
Uptime Kuma is a self-hosted monitoring tool, which means it runs on your own hardware and your data stays with you. According to setup guides published by Linuxiac and Bitdoze, it can check many kinds of things:
- HTTP and HTTPS: is a web page responding?
- TCP port: is a service listening on its port?
- Ping: is a device on the network answering?
- DNS: is a name being resolved correctly?
- Docker container: is a container running?
- Push: a script or job reports in, and you get alerted when it stops.
It can send alerts through many channels, including email, Telegram, Discord, Slack, ntfy, Gotify, and generic webhooks. The project has also grown a large following on GitHub, with tens of thousands of stars.
What you need
- A Linux mini PC with Docker and the Compose plugin. Our Docker Compose tutorial for beginners covers the install and explains every part of a Compose file.
- One or two services already running that you’d like to watch, such as Pi-hole or Jellyfin.
- A messaging app or email account for alerts.
Which version should you use?
Uptime Kuma has a version 1 line and a version 2 line. Version 2 is the current one, and several 2026 guides use the 2 image tag. Pinning to 2 instead of latest keeps you on the version 2 line and avoids surprise jumps when a new major version comes out.
If you already ran Uptime Kuma from an older guide using the 1 tag, don’t just change the number. One 2026 guide notes that version 2 removed the old built-in backup and restore feature, so copy your data folder somewhere safe first and read the release notes before you upgrade. I haven’t tested that migration myself.
Step 1: Create the folder
sudo mkdir -p /srv/docker/uptime-kuma
sudo chown -R $USER:$USER /srv/docker
cd /srv/docker/uptime-kumaStep 2: Write the Compose file
nano compose.yamlservices:
uptime-kuma:
image: louislam/uptime-kuma:2
container_name: uptime-kuma
restart: unless-stopped
ports:
- "3001:3001"
volumes:
- ./data:/app/dataPort 3001 is the web dashboard, and the data folder holds all your monitors and settings, so they survive updates and rebuilds.
Step 3: Start it and create your account
docker compose up -dOpen http://YOUR-SERVER-IP:3001 in a browser on another device. On the first visit, Uptime Kuma asks you to create an admin account. Use a long, unique password, since this dashboard shows the layout of your whole network.
Step 4: Add your first monitors
Click Add New Monitor, choose a type, give it a friendly name, and fill in the address. Here are good first ones for a mini PC homelab:
| What to watch | Monitor type | Example address |
|---|---|---|
| Your router | Ping | 192.168.1.1 |
| The mini PC itself | Ping | 192.168.1.50 |
| Pi-hole dashboard | HTTP | http://192.168.1.50/admin |
| Pi-hole DNS | DNS | your Pi-hole address, port 53 |
| Jellyfin | HTTP | http://192.168.1.50:8096 |
| Proxmox web page | HTTP (HTTPS) | https://192.168.1.60:8006 |
Use your own addresses, not the examples. Proxmox uses a self-signed certificate, so its monitor may report an error until you tell Uptime Kuma to ignore certificate errors for that one monitor. Only do this for devices on your own network.
Each monitor also has a check interval and a retry setting. A check every minute or so is plenty for a home network. Setting one or two retries before an alert stops a single dropped check from waking you up at night.
Step 5: Set up alerts
A monitor that nobody sees is useless, so set up a notification next:
- Open Settings, then Notifications, and choose to set up a notification.
- Pick a channel. Telegram, Discord, and ntfy are popular because they reach your phone instantly. Email also works.
- Enter the details the channel asks for, such as a bot token or webhook address, and use the test button to confirm it arrives.
- Attach the notification to your monitors. You can set it up as a default so new monitors use it automatically.
If you use Gmail for email alerts and have two-step verification on, you’ll need an app password rather than your normal password.
Know the blind spot
Uptime Kuma runs on your mini PC, so if the mini PC loses power or the network, Uptime Kuma goes down with it and can’t send an alert. For anything critical, add a second watcher, such as a free external monitoring service or a monitor running on another device that checks the mini PC.
Optional: container and status page features
Uptime Kuma can monitor Docker containers directly, but that requires giving it access to the Docker control socket. That access is close to full control of the machine, so skip it unless you really need it. Plain HTTP, TCP, and ping checks cover most homelabs and carry no such risk.
It can also publish a status page, a simple page that shows which services are up. If you create one, keep it private to your home network.
Keep it safe
- Don’t forward port 3001 on your router. If you want to check the dashboard while away, use a private network, such as the one in our Tailscale remote access guide.
- Use a strong admin password and turn on two-step verification if your version offers it.
- Keep the image updated with
docker compose pullanddocker compose up -d.
Back up and update
The data folder is the only thing worth protecting, since it holds every monitor and notification setting. Include /srv/docker/uptime-kuma in your routine, as described in our homelab backup strategy for beginners. To update:
docker compose pull
docker compose up -dCopy the data folder before any major version change.
Troubleshooting common problems
The dashboard won’t load
Run docker compose ps and docker compose logs to see whether the container is running. Check the IP address, the port, and that you used http.
A monitor says a service is down, but it works
Check the address and port in the monitor, and whether the service answers from another device. For HTTPS devices with self-signed certificates, enable the option to ignore certificate errors for that monitor.
Notifications don’t arrive
Use the test button on the notification. For Telegram or Discord, re-check the token or webhook address. For email, check the app password and port.
I get too many false alerts
Raise the retry count or lengthen the check interval. Wi-Fi devices are a common cause, so monitor wired devices first.
Frequently asked questions
Is Uptime Kuma free?
Yes. It’s free and open source.
Can Uptime Kuma monitor devices outside my home?
Yes. It can check public websites and servers too, as long as your mini PC has internet access.
How much hardware does it need?
Very little. It’s light enough to share a mini PC with many other containers.
Does it work with Home Assistant?
Yes, both can run on the same mini PC, and Uptime Kuma can send alerts to many notification services that Home Assistant users already use.
Wrapping up
Uptime Kuma turns a collection of services into something you can trust. Run it with a short Compose file, add monitors for your router, mini PC, and key apps, and connect an alert channel you check on your phone. Keep it off the open internet, back up the data folder, and add a second watcher for the mini PC itself. After that, you’ll hear about problems before anyone else does.