Home Spining up Uptime Kuma
Post
Cancel

Spining up Uptime Kuma

For a person who comes from a world of Zabbix and Nagios, Uptime Kuma is wicked, a light weight monitoring tool that gets out of your way to do basics, ie HTTP(S), TCP Ports, DNS & SQL. Lets spin it up:

You will need a Linux distro of choice and docker installed

1
2
3
4
mkdir uptime_kuma
cd uptime_kuma
touch docker-compose.yml
vim docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
version: "3.1"

services:
  uptime-kuma:
    image: louislam/uptime-kuma:1
    container_name: uptime-kuma
    volumes:
      - /home/serveradmin/docker_volumes/uptime-kuma/data:/app/data
    ports:
      - 3001:3001
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
1
2
mkdir data
docker-compose up -d

Done, go to http://IP/FQDM:3001 and create your account.

If you forget your password

1
docker exec -it <container name> npm run reset-password

Docs

This post is licensed under CC BY 4.0 by the author.