Skip to content

Uptime Kuma

A simple but powerful uptime monitor.

Directory Structure

Container directory structure
container_root/
  ../.env
  ../.gitignore
  ../docker-compose.yml

Container Files

...

.env

uptime kuma .env
1
2
3
4
## Default: 3001
UPTIME_KUMA_PORT=
## Default: named volume "uptime_kuma_data"
UPTIME_KUMA_DATA_DIR=

.gitignore

uptime kuma .gitignore
**/data

docker-compose.yml

uptime kuma docker-compose.yml
---
volumes:
  uptime_kuma_data:

services:

  uptime-kuma:
    image: louislam/uptime-kuma
    container_name: uptime-kuma
    restart: unless-stopped
    ports:
      - ${UPTIME_KUMA_PORT:-3001}:3001
    volumes:
      - ${UPTIME_KUMA_DATA_DIR:-uptime_kuma_data}:/app/data

Notes