Categories

Tools

How to upgrade Uptime Kuma 1.23 to 2.x with Docker without losing your history

To upgrade Uptime Kuma 1.23 to version 2 with Docker, stop the container, archive the data directory and switch the image to louislam/uptime-kuma:2.5.9, because latest still points to 1.23.17. The first start aggregates the history into new tables and deletes the raw heartbeats: do not interrupt it, and keep the backup to roll back.

Tools

How to install Gatus with Docker Compose, monitoring as code vs Uptime Kuma

Gatus is an uptime monitor you configure with YAML files instead of a web interface. With Docker Compose, the v5.37.0 image and a volume for SQLite, it checks HTTP, TCP, certificates and DNS TXT records, and alerts through a webhook. In my test it alerted on an nginx outage after 30 seconds, the time three 10-second checks take.

How to Install

How to install Uptime Kuma for basic monitoring

Uptime Kuma installs with Docker Compose and the louislam/uptime-kuma:2.5.9 image (not latest, which still points to 1.x), with a persistent volume at /app/data and port 3001. Bring the container up with docker compose up -d, pick SQLite on the first screen, then create the admin account.