Prerequisites
- Docker and Docker Compose installed — see Install Docker
- A domain or subdomain pointed to your server (e.g.,
status.example.com) - Ports 80 and 443 open in your firewall
Step 1: Deploy Uptime Kuma
Create a directory and Docker Compose file:127.0.0.1:3001. It is only accessible locally until we set up the reverse proxy.
Step 2: Install Nginx
- Debian / Ubuntu
- RHEL / AlmaLinux / Rocky
Step 3: Configure Nginx Reverse Proxy
Replacestatus.example.com with your actual domain:
Step 4: Install SSL with Certbot
- Debian / Ubuntu
- RHEL / AlmaLinux / Rocky
Step 5: Access Uptime Kuma
Openhttps://status.example.com in your browser. On first visit, you will be prompted to create an admin account.
Updating
To update Uptime Kuma to the latest version:Backup
Uptime Kuma stores all data in a SQLite database. To back up:All-in-One Script
For convenience, here is the complete setup as a single script. Edit theDOMAIN variable before running:
install-uptime-kuma.sh