You’ve spun up lots of self-hosted services in your HomeLab but you haven’t set up monitoring and alerting yet. Well, be glad you waited because today well set up Uptime Kuma to do just that. Uptime Kuma is a self-hosted, open source, fancy uptime monitoring and alerting system. It can monitor HTTP, HTTP with keyword, TCP, Ping, and even DNS systems!
https://github.com/louislam/uptime-kuma
Docker Setup
See this post on how to install docker
and docker-compose
Running the container
If you’re using Docker compose
1
2
3
4
5
6
7
mkdir uptime-kuma
cd uptime-kuma
touch docker-compose.yml
nano docker-compose.yml # copy the contents from below
mkdir data
ls
docker-compose up -d --force-recreate
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
version: "3.1"
services:
uptime-kuma:
image: louislam/uptime-kuma:1
container_name: uptime-kuma
volumes:
- /home/serveradmin/docker_volumes/uptime-kuma/data:/app/data
ports:
- 3001:3001
restart: unless-stopped
security_opt:
- no-new-privileges:true
If you’re using Rancher, Portainer, Open Media Vault, Unraid, or anything else with a GUI, just copy and paste the environment variables, ports, and volumes from above into the form on the web page.
Links
⚙️ See all the hardware I recommend at https://l.technotim.live/gear
🚀 Don’t forget to check out the 🚀Launchpad repo with all of the quick start source files