# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Peekaping
spec:
    description: Open Source Uptime Kuma Alternative
    coverImage: https://zb-tpl.resource.cc.cd/Peekaping-27c6a77981e6334d.webp
    icon: https://peekaping.com/logo-mascot.webp
    tags:
        - Tool
    readme: |
        # [Peekaping](https://github.com/0xfurai/peekaping)

        **Open Source Uptime Kuma Alternative**

        With the following advantages:

        - Rich API interfaces
        - Written in Go language
        - Client typed, compiled in Go, high stability
        - Simple and modern UI design
        - Multiple storage options: SQLite / PostgreSQL / MongoDB
        - API key management and access control
        ## Tutorial
        1. Click "Deploy" to deploy Peekaping to Zeabur.
        2. Go to the website, register an account, and you can start monitoring your websites!
        ## Domain Configuration
        - Port 8383 is for the visualization panel address (must configure domain)
        - Port 8034 is for the API endpoint address (optional domain configuration), after configuration, go to `/api/v1/health` to check if the API is running properly, and `/swagger/index.html` to view the API documentation.
    services:
        - name: peekaping
          icon: https://peekaping.com/logo-mascot.webp
          template: PREBUILT_V2
          spec:
            id: peekaping
            source:
                image: 0xfurai/peekaping-bundle-sqlite:latest
            ports:
                - id: port-8383
                  port: 8383
                  type: HTTP
                - id: port-8034
                  port: 8034
                  type: HTTP
            volumes:
                - id: data
                  dir: /app/data
            env:
                DB_NAME:
                    default: /app/data/peekaping.db
                    expose: false
                DB_TYPE:
                    default: sqlite
                    expose: false
                SERVER_PORT:
                    default: "8034"
                    expose: false
            configs: []
            portForwarding:
                enabled: false
localization:
    zh-TW:
        description: Peekaping 是一個開源的 Uptime Kuma 替代方案
        readme: |
            # [Peekaping](https://github.com/0xfurai/peekaping)

            **Peekaping 是一個開源的 Uptime Kuma 替代方案**

            有著以下優勢：

            - 豐富的 API 接口
            - 採用Go語言編寫
            - 客戶端類型化，Go語言編譯，穩定性高
            - 簡潔現代的UI設計
            - 多種儲存選項：SQLite / PostgreSQL / MongoDB
            - API 金鑰管理和存取控制

            ## 教學

            1. 點擊「部署」將 Peekaping 部署到 Zeabur。
            2. 前往網站，註冊帳號，即可開始監控你的網站了！

            ## 網域配置

            - 8383 端口為可視化面板地址(必須配置網址)
            - 8034 端口為API端點地址(可選配置網址)，配置後前往 `/api/v1/health` 可查看API是否正常運行、`/swagger/index.html` 可查看API文檔。
