# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Uptime Kuma
spec:
    description: An easy-to-use self-hosted monitoring tool with a fancy, reactive UI and 90+ notification integrations.
    coverImage: https://user-images.githubusercontent.com/1336778/212262296-e6205815-ad62-488c-83ec-a5b0d0689f7c.jpg
    icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/uptime-kuma.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain name for your Uptime Kuma dashboard
    tags:
        - monitoring
    readme: |-
        # Uptime Kuma

        Uptime Kuma is an easy-to-use, self-hosted monitoring tool — a free alternative to services like Uptime Robot. It provides a modern, reactive web interface with real-time status updates via WebSocket.

        ## Features

        - **Monitoring types** — HTTP(s), TCP, DNS, keyword matching, JSON query, WebSocket, Ping, Steam game servers, Docker containers, and more
        - **90+ notifications** — Telegram, Discord, Slack, Pushover, email (SMTP), and many more
        - **Status pages** — multiple pages with custom domain mapping
        - **SSL monitoring** — tracks certificate expiry and issues
        - **Ping charts** — visualize response time history
        - **2FA support** — secure your dashboard with two-factor authentication
        - **Proxy support** — route checks through HTTP/HTTPS/SOCKS proxies
        - **Multi-language** — available in dozens of languages

        ## Getting Started

        After deployment, open the dashboard at your configured domain and create an admin account. Add your first monitor by clicking **Add New Monitor**, select the monitor type, and enter the URL or host to watch.

        ## Links

        - GitHub: https://github.com/louislam/uptime-kuma
    resourceUsage:
        cpu: 100
        memory: 512
    resourceRequirement:
        minConfig:
            cpu: 1
            ram: 1
        recommendedConfig:
            cpu: 1
            ram: 2
    services:
        - name: Uptime Kuma
          icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/uptime-kuma.png
          template: PREBUILT_V2
          spec:
            source:
                image: ghcr.io/louislam/uptime-kuma:2.2.1
            ports:
                - id: http
                  port: 3001
                  type: HTTP
            volumes:
                - id: data
                  dir: /app/data
            healthCheck:
                type: HTTP
                port: http
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    zh-CN:
        description: 易于使用的自托管监控工具，支持 90+ 通知渠道与精美的实时面板。
        variables:
            - key: PUBLIC_DOMAIN
              type: DOMAIN
              name: 域名
              description: 你想将 Uptime Kuma 监控面板绑定到哪个域名上？
        readme: |-
            # Uptime Kuma

            Uptime Kuma 是一款易于使用的自托管监控工具，是 Uptime Robot 等服务的免费替代方案。提供现代化、实时响应的网页界面，通过 WebSocket 推送实时状态更新。

            ## 功能特性

            - **监控类型** — HTTP(s)、TCP、DNS、关键字匹配、JSON 查询、WebSocket、Ping、Steam 游戏服务器、Docker 容器等
            - **90+ 通知渠道** — Telegram、Discord、Slack、Pushover、电子邮件（SMTP）等
            - **状态页面** — 支持多个状态页并自定义域名映射
            - **SSL 监控** — 追踪证书到期与异常
            - **Ping 图表** — 可视化响应时间历史记录
            - **双重验证** — 以 2FA 保护面板安全
            - **代理支持** — 可通过 HTTP/HTTPS/SOCKS 代理进行监控
            - **多语言** — 支持数十种语言界面

            ## 快速开始

            部署完成后，前往配置的域名打开面板并创建管理员账号。点击 **添加监控器**，选择监控类型并输入要监控的网址或主机地址。

            ## 相关链接

            - GitHub：https://github.com/louislam/uptime-kuma
    zh-TW:
        description: 易於使用的自架監控工具，支援 90+ 通知渠道與精美的即時儀表板。
        variables:
            - key: PUBLIC_DOMAIN
              type: DOMAIN
              name: 網域
              description: 你想將 Uptime Kuma 監控儀表板綁在哪個網域上？
        readme: |-
            # Uptime Kuma

            Uptime Kuma 是一款易於使用的自架監控工具，是 Uptime Robot 等服務的免費替代方案。提供現代化、即時反應的網頁介面，透過 WebSocket 推送即時狀態更新。

            ## 功能特色

            - **監控類型** — HTTP(s)、TCP、DNS、關鍵字比對、JSON 查詢、WebSocket、Ping、Steam 遊戲伺服器、Docker 容器等
            - **90+ 通知渠道** — Telegram、Discord、Slack、Pushover、電子郵件（SMTP）等
            - **狀態頁面** — 支援多個狀態頁並自訂網域對應
            - **SSL 監控** — 追蹤憑證到期與異常
            - **Ping 圖表** — 視覺化回應時間歷史記錄
            - **雙重驗證** — 以 2FA 保護儀表板安全
            - **代理支援** — 可透過 HTTP/HTTPS/SOCKS 代理進行監控
            - **多語系** — 支援數十種語言介面

            ## 開始使用

            部署完成後，前往設定的網域開啟儀表板並建立管理員帳號。點選 **新增監視器**，選擇監控類型並輸入要監控的網址或主機位址。

            ## 相關連結

            - GitHub：https://github.com/louislam/uptime-kuma
