Prerequisites
- Docker installed
01Install
One command, a volume for the data, the interface on port 3001. This is the command given by the project for version 2.
The data is a local database: the documentation states that NFS shares are not supported. Use a local volume or directory.
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:202Pick the right probe
HTTP(s) for a site or an API, with an expected keyword in the page to check it really answers; Ping for a device; DNS for a resolver; TCP for a port; Docker Container for a container’s state. The Push probe works the other way round: the monitored job (a backup, a script) calls Uptime Kuma, and a missing call triggers the alert.
Monitor each service the way a user reaches it: by name and over HTTPS, not by internal IP. The HTTPS probe also warns about upcoming certificate expiry.
03Get notified
Attach a notification (email, messaging…) to the important probes, and optionally publish a status page: handy so users can check for themselves before asking. A probe running on the machine it monitors goes down with it: a second instance elsewhere, or an external service, watches the first.
Key takeaways
- Port 3001, data in a local volume (no NFS).
- HTTP(s) + keyword: check the response, not just the connection.
- Push for scheduled jobs.
- Probe by public name, like a user.