Uptime Kuma is a self-hosted monitoring tool running in a docker container. It is similar to “Uptime Robot”.
Installation
- Install docker-compose.
- Go to Uptime Kuma’s GitHub
Create a docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Simple docker-compose.yaml
# You can change your port or volume location
version: '3'
services:
uptime-kuma:
image: louislam/uptime-kuma:1
container_name: uptime-kuma
volumes:
- ./uptime-kuma-data:/app/data
ports:
- 3001:3001 # <Host Port>:<Container Port>
restart: unless-stopped
tunnel:
container_name: cloudflared-tunnel
image: cloudflare/cloudflared
restart: unless-stopped
command: tunnel run
environment:
- TUNNEL_TOKEN=mytokengoeshere
networks:
default:
external:
name: uptime-kuma
How to Update
1
2
3
4
cd "<YOUR docker-compose.yml DIRECTORY>"
docker pull louislam/uptime-kuma:1
docker stop uptime-kuma
docker-compose up -d --force-recreate