# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: OpenList
spec:
    description: A file list / WebDAV program that supports multiple storages.
    icon: https://raw.githubusercontent.com/OpenListTeam/Logo/main/OpenList.svg
    variables:
        - key: OpenList_DOMAIN
          type: DOMAIN
          name: OpenList Domain
          description: The domain name of OpenList.
    readme: "# OpenList\n\n\U0001F5C2️ A file list program that supports multiple storage, powered by Gin and Solidjs.\n\n## Deployment\n\nThis is a one-click deployment for OpenList. You only need to set up the storage for OpenList.\n\nThe password of the user `admin` can be seen in “Logs”:\n\n```\nINFO[2024-01-01 00:00:00] Successfully created the admin user\nand the initial password is: <your password>\n```\n"
    services:
        - name: OpenList
          icon: https://raw.githubusercontent.com/OpenListTeam/Logo/main/OpenList.svg
          template: PREBUILT_V2
          spec:
            source:
                image: openlistteam/openlist:latest-aio
            ports:
                - id: web
                  port: 5244
                  type: HTTP
            volumes:
                - id: data
                  dir: /opt/openlist/data
            env:
                PGID:
                    default: "0"
                    expose: false
                PUID:
                    default: "0"
                    expose: false
                TZ:
                    default: Asia/Shanghai
                    expose: false
                UMASK:
                    default: "022"
                    expose: false
          domainKey: OpenList_DOMAIN
localization:
    zh-CN:
        description: 支持多个存储的文件列表 / WebDAV 程序。
        readme: "# OpenList\n\n\U0001F5C2️ 支持多个存储的文件列表程序，由 Gin 和 Solidjs 驱动。\n\n## 部署\n\n这是 OpenList 的一键部署，只需要为 OpenList 设置存储空间即可使用。\n\n用户 `admin` 的密码可以在“日志”中看到：\n\n```\nINFO[2024-01-01 00:00:00] Successfully created the admin user and the initial password is: <密码>\n```\n"
    zh-TW:
        description: 支援多個儲存空間的文件列表 / WebDAV 程式。
        readme: "# OpenList\n\n\U0001F5C2️ 支援多個儲存空間的文件列表程式，由 Gin 和 Solidjs 驅動。\n\n## 部署\n\n這是 OpenList 的一鍵部署，只需要為 OpenList 設定儲存空間即可使用。\n\n使用者 `admin` 的密碼可以在「日誌」中看到：\n\n```\nINFO[2024-01-01 00:00:00] Successfully created the admin user and the initial password is: <密碼>\n```\n"
