Skip to main content

UptimeKuma

uptime-kuma is like UptimeRobot, except free :-)

Here's how I set it up with Caddy to have UptimeKuma run with an SSL cert!

Run it in one window/terminal

sudo docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1

Update it

sudo tailscale down
sudo docker pull louislam/uptime-kuma:1
sudo docker stop uptime-kuma
sudo docker rm uptime-kuma
# sudo tailscale up - if it's connected to a Tailscale network
# Default
sudo docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1

Run Caddy server in another window/terminal

Create a Caddy file that looks something like this:

mykuma.mydomain.com {
reverse_proxy 127.0.0.1:3001

log {
output file /var/log/caddy/mykuma.log
}

}

Then run it:

sudo caddy run --config Caddyfile