# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: DrawDB
spec:
    description: Free, simple, and intuitive database schema editor and SQL generator.
    coverImage: https://github.com/drawdb-io/drawdb/raw/main/drawdb.png
    icon: https://github.com/drawdb-io/drawdb/raw/main/src/assets/icon-dark.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain you want to bind to your DrawDB instance.
    tags:
        - Database
        - Diagram editor
        - Developer Tool
        - Web
    readme: |
        # DrawDB

        DrawDB is a robust and user-friendly database entity relationship (DBER) editor right in your browser. Build diagrams with a few clicks, export sql scripts, customize your editor, and more without creating an account. See the full set of features [here](https://www.drawdb.app/).

        > After deployment, click **Editor** to enter the editing page and start designing your database.
    services:
        - name: drawdb
          icon: https://github.com/drawdb-io/drawdb/raw/main/src/assets/icon-dark.png
          template: GIT
          spec:
            source:
                source: GITHUB
                repo: 667110339
                branch: main
            ports:
                - id: web
                  port: 80
                  type: HTTP
          domainKey: PUBLIC_DOMAIN
localization:
    zh-TW:
        description: 免費、簡單、直覺的資料庫結構編輯器與 SQL 產生器。
        variables:
            - key: PUBLIC_DOMAIN
              type: DOMAIN
              name: 網域
              description: 你想綁定到 DrawDB 的網域？
        readme: |
            # DrawDB

            DrawDB 是一款穩定且易於使用的「資料庫實體關聯（DBER）」編輯器，讓你能直接在瀏覽器中進行操作。只需幾個點擊即可建立圖表、匯出 SQL 腳本、客製化編輯器等功能，且無需建立帳號即可使用。你可以在[這裡](https://www.drawdb.app/)查看完整功能介紹。

            > 布署完成後，點擊 **Editor** 即可進入編輯頁面開始設計資料庫。
