# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: OpenList
spec:
    description: 一个 OpenList 服务模板,使用 openlist-aio(OpenList+aira2+ffmepg) 镜像
    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-aio(OpenList+aira2+ffmepg). 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[2026-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:
            id: openlist
            source:
                image: openlistteam/openlist:latest-aio
            ports:
                - id: web
                  port: 5244
                  type: HTTP
            volumes:
                - id: data
                  dir: /opt/openlist/data
          domainKey: OpenList_DOMAIN
localization:
    zh-CN:
        description: 支持多个存储的文件列表 / WebDAV 程序。
        readme: "# OpenList\n\n\U0001F5C2️ 支持多个存储的文件列表程序，由 Gin 和 Solidjs 驱动。\n\n## 部署\n\n这是 openlist-aio(OpenList+aira2+ffmepg) 的一键部署，只需要为 OpenList 设置存储空间即可使用。\n\n用户 `admin` 的密码可以在“日志”中看到：\n\n```\nINFO[2025-01-01 00:00:00] Successfully created the admin user and the initial password is: <密码>\n```\n"
