Run Uptime Kuma in Docker, then add an HTTP(s) monitor for your service’s HTTPS URL. Turn on Certificate Expiry Notification, set how many days ahead you want a warning, and attach an ntfy destination to that monitor. Docker setup · Monitor settings · Expiry logic · ntfy delivery
Start Uptime Kuma in Docker
On a host with Docker installed, run the command below. It stores Kuma’s data in the local uptime-kuma volume mounted at /app/data. Use a local volume and avoid NFS. The port mapping publishes Kuma on all host interfaces. For access from the host itself, you can restrict the mapping by using -p 127.0.0.1:3001:3001. Uptime Kuma Docker instructions
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:2
Open http://localhost:3001 on the Docker host, or use the host’s IP address with port 3001 when connecting over your LAN with the command above. Documented access URLs
On the database screen, select SQLite and click Next. Then enter a username and password, repeat the password, and click Create to set up the admin account. Database setup screen · Admin setup screen
Subscribe to ntfy and send a test
For a quick test with ntfy.sh, choose a hard-to-guess topic name. Open https://ntfy.sh/app, enter the topic name, and click Subscribe. If the topic does not already exist, subscribing creates it. Use an access-controlled topic for alerts that may contain private URLs or hostnames. Anyone who knows an unprotected topic name can read its messages. Topic rules and authentication · Web app subscription · Certificate message format
In Kuma, open Settings → Notifications → Setup Notification. Use these values for a test on ntfy.sh. Replace homelab-alerts-your-random-suffix with the topic you subscribed to. ntfy integration guide · Notification dialog · ntfy form · Field labels
| Field | Example value |
|---|---|
| Notification Type | Ntfy |
| Friendly Name | Homelab alerts |
| ntfy Topic | homelab-alerts-your-random-suffix |
| Server URL | https://ntfy.sh |
| Priority | 3 |
| Priority for DOWN-events | 4 |
| Authentication Method | None for an unprotected test topic |
For an existing protected topic, enter its server’s base URL in Server URL and its name in ntfy Topic. Use HTTPS for username and password authentication on a self-hosted ntfy server. Under Authentication Method, choose Access Token or Username and Password and supply credentials with permission to publish. Subscribe using an account with permission to read that topic. Authentication fields · Option labels · Protected topics
Click Test and check that a message appears in the subscribed ntfy app. Then click Save. If the message is missing, check the server URL, the exact topic name in both apps, and publish and subscribe permissions for a protected topic. The test sends a sample message, so check certificate detection on the monitor itself as well. Test and Save controls · Sample message behavior · Subscription guide · Permissions
Set the certificate warning schedule
Go to Settings → Notifications → TLS Certificate Expiry. To add a warning threshold, enter a positive whole number of days and click +. Use the remove button next to any day you want to drop, then click Save. For example, keep or add 14 and 7 for two warning thresholds. The list applies across HTTPS monitors with certificate expiry notifications and TLS error checking enabled. Threshold controls · Settings labels · Per-monitor check · Threshold logic
Add the HTTPS monitor and attach ntfy
- On desktop, click Add New Monitor in the dashboard. Set Monitor Type to HTTP(s), choose a Friendly Name, and put the full HTTPS address in URL. Use a service your Kuma instance can reach. Dashboard controls · Monitor fields
- Under Advanced, leave Ignore TLS/SSL errors for HTTPS websites unchecked and enable Certificate Expiry Notification. Kuma disables the expiry checkbox when you set it to ignore TLS errors. Advanced settings · TLS option label
- Under Notifications on the same form, turn on the destination you named Homelab alerts and click Save. Kuma sends certificate warnings through the destinations attached to that monitor. Monitor notification controls · Destination selection · Certificate warning delivery
Verify certificate detection
After Kuma has checked the service, open the monitor. When certificate data is available, Cert Exp. shows the expiration date and days remaining. If it is missing, recheck the HTTPS URL and look for an error on the monitor. If the ntfy test arrived but expiry warnings are missing, check the monitor’s expiry checkbox, destination, and the saved day thresholds. Monitor details · Monitor settings · Expiry checks
Evidence and limits. The Uptime Kuma 2.5.12 installation guide and release source, plus the ntfy documentation, were checked on November 26, 2026. The setup steps were not run for this article.