Skip to content
프로젝트

소개

AutoKuma는 Docker 컨테이너 레이블을 바탕으로 Uptime Kuma 모니터를 자동으로 생성하는 유틸리티입니다. AutoKuma를 사용하면 Uptime Kuma UI에서 모니터를 수동으로 만들 필요가 없습니다.

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+2
in 7 days
+9
in 15 days
+20
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

AutoKuma 🐻 Crates.io Version

AutoKuma is a utility that automates the creation of Uptime Kuma monitors based on Docker container labels. With AutoKuma, you can eliminate the need for manual monitor creation in the Uptime Kuma UI.

Supported Sources

Source Description Support
Docker Monitors are sourced from container labels ✅
Files Monitors are sourced from .json/.toml files ✅
Docker Swarm Monitors can be sourced from service and/or container labels ⚠️*
Kubernetes Monitors are sourced from CR, see the CRDs in autokuma/kubernetes/crds-autokuma.yml. Additionally the Files and Docker provider might be used depending on your setup ⚠️*

*These sources are supported on an as-is basis as I'm currently not running any of them (they are basically looking for a maintainer, please get in contact if you'd like to adopt one or add support for another source).

Quick Start 🚀

The fastest way to get going is with Docker Compose:

version: '3'

services:
  autokuma:
    image: ghcr.io/bigboot/autokuma:latest
    restart: unless-stopped
    environment:
      AUTOKUMA__KUMA__URL: http://uptime-kuma:3001
      AUTOKUMA__KUMA__USERNAME: <username>
      AUTOKUMA__KUMA__PASSWORD: <password>
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - autokuma-data:/data

volumes:
  autokuma-data:

Then add labels to any container you want to monitor:

labels:
  kuma.my-app.http.name: "My App"
  kuma.my-app.http.url: "https://my-app.example.com"

AutoKuma picks up the labels and creates the monitor in Uptime Kuma automatically.

For full installation options (prebuilt binaries, platforms, dev builds) see the Installation docs.

Usage 💡

Labels follow this format:

<prefix>.<id>.<type>.<setting>: <value>
  • <prefix> - Default is kuma, configurable via AUTOKUMA__DOCKER__LABEL_PREFIX.
  • <id> - A unique identifier for the monitor.
  • <type> - The monitor type (e.g. http, ping, dns).
  • <setting> - The property to set.

The docs cover everything else: groups, notifications, tags, templating, snippets, static monitors, and all entity types.

Configuration 🔧

At minimum you need to point AutoKuma at your Uptime Kuma instance:

AUTOKUMA__KUMA__URL=http://localhost:3001
AUTOKUMA__KUMA__USERNAME=<username>
AUTOKUMA__KUMA__PASSWORD=<password>

See the Configuration docs for the full reference, including TLS, Docker host options, secret files, and config file locations.

Kuma CLI 🤖 Crates.io Version kuma

Kuma CLI is a command-line tool for managing Uptime Kuma directly from the terminal.

Commands

Resource Subcommands
monitor add, delete, edit, list, get, pause, resume
tag add, delete, edit, ls, get
notification add, delete, edit, ls, get
maintenance add, delete, edit, ls, get, pause, resume
status-page add, delete, edit, ls, get
docker-host add, delete, edit, ls, get, test

How to Install 📦

Binaries for Windows, Linux and macOS are available on GitHub Releases. You can also install via Snap or Cargo:

sudo snap install kuma
# or
cargo install --git https://github.com/BigBoot/AutoKuma.git kuma-cli

See the Kuma CLI docs for usage, all options, and configuration.

Kuma Client 🧑‍💻 Crates.io Version

kuma-client is a Rust crate that provides a client library for interacting with the Uptime Kuma SocketIO API.

Please take a look at the examples and the documentation for further details.

Contributing 👥

Contributions to AutoKuma are welcome! Feel free to open issues, submit pull requests, or provide feedback.

License 📜

AutoKuma is released under the MIT License.

관련 프로젝트 살펴보기

불러오는 중…