Uptime Kuma is a tool you can host yourself to monitor the health of different services, like websites, servers, or databases. It supports checks for things like HTTP, HTTPS, DNS, PING, TCP, and SQL. If something goes down, it can send alerts via Email, Telegram, Discord, Microsoft Teams, and more.
You can run Uptime Kuma in a Docker container, which makes it lightweight, fast, and easy to set up. I'll guide you on how to build and configure it in Docker.
How to install Docker (if itβs not already installed).
- Update your system: sudo apt update
Install Docker: sudo apt install -y docker.io
Start Docker: sudo systemctl start docker
Enable Docker to start on boot: sudo systemctl enable docker
Check Docker version: docker --version
Test Docker: sudo docker run hello-world
STEP-1: Open the terminal on your server where Docker is installed:
command: docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
STEP-2: Run this command to check if Uptime Kuma is running on port 3001:
command: docker ps
STEP-3: Open a web browser on the same device where Docker is installed and go to:
command: your_ip-address:3001
[note: If you encounter any issues or problems, feel free to contact me at birendra2783@gmail.com or +977 9821508997.]