# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: SeaweedFS
spec:
    description: |
        SeaweedFS is a fast distributed storage system for blobs, objects, files, and data lake. S3-compatible API with a built-in web UI for browsing and managing files. Runs master and volume server in a single container — no external database required.
    coverImage: https://raw.githubusercontent.com/seaweedfs/seaweedfs/master/note/SeaweedFS_Logo.png
    icon: https://avatars.githubusercontent.com/u/4604537
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access SeaweedFS UI
        - key: S3_PASSWORD
          type: PASSWORD
          name: S3 Secret Key
          description: Secret key for S3 API access
    tags:
        - Tool
        - Storage
    readme: |
        # SeaweedFS

        A fast distributed storage system with S3-compatible API. Handles blobs, objects, files, and data lake workloads. Runs master + volume + filer in a single container with a built-in web UI.

        ## What You Can Do After Deployment

        1. **Visit your domain** — the SeaweedFS master UI loads on the root URL showing volume server status
        2. **Browse the filer** — navigate directories and files at `/filer/` path
        3. **Upload files** — use the web UI or curl: `curl -F file=@localfile https://YOUR_DOMAIN/submit`
        4. **Use S3 API** — connect any S3-compatible client with the configured credentials
        5. **Monitor cluster** — view volume server topology, disk usage, and replication status
        6. **Manage volumes** — inspect volume allocation and storage efficiency

        ## Key Features

        - S3-compatible API for object storage
        - POSIX-like filer with directory structure
        - Automatic file splitting and replication
        - Built-in master and volume server management UI
        - FUSE mount support
        - Erasure coding for storage efficiency
        - Cross-datacenter replication
        - WebDAV support

        ## License

        Apache-2.0 — [GitHub](https://github.com/seaweedfs/seaweedfs)
    services:
        - name: seaweedfs
          icon: https://avatars.githubusercontent.com/u/4604537
          template: PREBUILT_V2
          spec:
            source:
                image: chrislusf/seaweedfs:4.17
                command:
                    - /bin/sh
                    - -c
                    - weed server -master.port=9333 -volume.port=8080 -filer -s3 -s3.port=8333 -ip.bind=0.0.0.0
            ports:
                - id: web
                  port: 9333
                  type: HTTP
            volumes:
                - id: seaweedfs-data
                  dir: /data
            env:
                TZ:
                    default: UTC
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /cluster/status
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            SeaweedFS es un sistema de almacenamiento distribuido rapido para blobs, objetos, archivos y data lake. API compatible con S3 e interfaz web incluida. Sin base de datos externa necesaria.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a SeaweedFS UI
            - key: S3_PASSWORD
              type: STRING
              name: Clave secreta S3
              description: Clave secreta para acceso a la API S3
        readme: |
            # SeaweedFS

            Sistema de almacenamiento distribuido rapido con API compatible con S3. Ejecuta master + volume + filer en un solo contenedor.

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** — la interfaz del master muestra el estado de los servidores de volumen
            2. **Explorar el filer** — navega directorios y archivos en `/filer/`
            3. **Subir archivos** — usa la interfaz web o curl
            4. **Usar la API S3** — conecta cualquier cliente compatible con S3
            5. **Monitorear el cluster** — revisa topologia de volumenes y uso de disco

            ## Licencia

            Apache-2.0 — [GitHub](https://github.com/seaweedfs/seaweedfs)
    id-ID:
        description: |
            SeaweedFS adalah sistem penyimpanan terdistribusi cepat untuk blob, objek, file, dan data lake. API kompatibel S3 dengan web UI bawaan. Tanpa database eksternal.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses SeaweedFS UI
            - key: S3_PASSWORD
              type: STRING
              name: S3 Secret Key
              description: Secret key untuk akses S3 API
        readme: |
            # SeaweedFS

            Sistem penyimpanan terdistribusi cepat dengan API kompatibel S3. Menjalankan master + volume + filer dalam satu container.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — UI master SeaweedFS menampilkan status volume server
            2. **Jelajahi filer** — navigasi direktori dan file di `/filer/`
            3. **Upload file** — gunakan web UI atau curl
            4. **Gunakan S3 API** — hubungkan klien kompatibel S3
            5. **Monitor cluster** — lihat topologi volume server dan penggunaan disk

            ## Lisensi

            Apache-2.0 — [GitHub](https://github.com/seaweedfs/seaweedfs)
    ja-JP:
        description: |
            SeaweedFS は高速な分散ストレージシステムで、Blob、オブジェクト、ファイル、データレイクに対応。S3 互換 API と Web UI 内蔵。外部データベース不要。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: SeaweedFS UI にアクセスするためのドメイン
            - key: S3_PASSWORD
              type: STRING
              name: S3 シークレットキー
              description: S3 API アクセス用のシークレットキー
        readme: |
            # SeaweedFS

            高速な分散ストレージシステム。S3 互換 API を提供し、単一コンテナで master + volume + filer を実行。

            ## デプロイ後にできること

            1. **ドメインにアクセス** — SeaweedFS master UI でボリュームサーバーのステータスを確認
            2. **ファイラーの閲覧** — `/filer/` パスでディレクトリとファイルを参照
            3. **ファイルアップロード** — Web UI または curl でアップロード
            4. **S3 API の利用** — S3 互換クライアントで接続
            5. **クラスター監視** — ボリュームサーバーのトポロジーとディスク使用量を確認

            ## ライセンス

            Apache-2.0 — [GitHub](https://github.com/seaweedfs/seaweedfs)
    ko-KR:
        description: |
            SeaweedFS는 빠른 분산 스토리지 시스템으로 Blob, 오브젝트, 파일, 데이터 레이크를 지원합니다. S3 호환 API와 Web UI 내장. 외부 데이터베이스 불필요.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: SeaweedFS UI에 접속할 도메인
            - key: S3_PASSWORD
              type: STRING
              name: S3 시크릿 키
              description: S3 API 접근용 시크릿 키
        readme: |
            # SeaweedFS

            빠른 분산 스토리지 시스템. S3 호환 API 제공. 단일 컨테이너에서 master + volume + filer 실행.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — SeaweedFS master UI에서 볼륨 서버 상태 확인
            2. **파일러 탐색** — `/filer/` 경로에서 디렉토리와 파일 탐색
            3. **파일 업로드** — Web UI 또는 curl로 업로드
            4. **S3 API 사용** — S3 호환 클라이언트로 연결
            5. **클러스터 모니터링** — 볼륨 서버 토폴로지와 디스크 사용량 확인

            ## 라이선스

            Apache-2.0 — [GitHub](https://github.com/seaweedfs/seaweedfs)
    th-TH:
        description: |
            SeaweedFS เป็นระบบจัดเก็บข้อมูลแบบกระจายที่รวดเร็ว รองรับ blob, object, file และ data lake มี API เข้ากันได้กับ S3 และ Web UI ในตัว ไม่ต้องการฐานข้อมูลภายนอก
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง SeaweedFS UI
            - key: S3_PASSWORD
              type: STRING
              name: S3 Secret Key
              description: Secret key สำหรับเข้าถึง S3 API
        readme: |
            # SeaweedFS

            ระบบจัดเก็บข้อมูลแบบกระจายที่รวดเร็วพร้อม API เข้ากันได้กับ S3 รัน master + volume + filer ในคอนเทนเนอร์เดียว

            ## สิ่งที่ทำได้หลังจากติดตั้ง

            1. **เข้าสู่โดเมน** — UI ของ SeaweedFS master แสดงสถานะ volume server
            2. **สำรวจ filer** — นำทางไดเรกทอรีและไฟล์ที่ `/filer/`
            3. **อัปโหลดไฟล์** — ใช้ Web UI หรือ curl
            4. **ใช้ S3 API** — เชื่อมต่อไคลเอนต์ที่เข้ากันได้กับ S3
            5. **ตรวจสอบ cluster** — ดู topology ของ volume server และการใช้งานดิสก์

            ## สัญญาอนุญาต

            Apache-2.0 — [GitHub](https://github.com/seaweedfs/seaweedfs)
    zh-CN:
        description: |
            SeaweedFS 是快速的分布式存储系统，支持 Blob、对象、文件与数据湖。提供 S3 兼容 API 与内置 Web UI，可浏览和管理文件。单一容器运行，无需外部数据库。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 SeaweedFS UI 的域名
            - key: S3_PASSWORD
              type: STRING
              name: S3 密钥
              description: S3 API 访问的 Secret Key
        readme: |
            # SeaweedFS

            快速的分布式存储系统，提供 S3 兼容 API。在单一容器中运行 master + volume + filer，内置 Web UI。

            ## 部署后可以做什么

            1. **打开域名** — SeaweedFS master UI 显示 Volume Server 状态
            2. **浏览 Filer** — 在 `/filer/` 路径浏览目录和文件
            3. **上传文件** — 使用 Web UI 或 curl 上传
            4. **使用 S3 API** — 用任何 S3 兼容客户端连接
            5. **监控集群** — 查看 Volume Server 拓扑、磁盘使用量与复制状态

            ## 授权

            Apache-2.0 — [GitHub](https://github.com/seaweedfs/seaweedfs)
    zh-TW:
        description: |
            SeaweedFS 是快速的分散式儲存系統，支援 Blob、物件、檔案與資料湖。提供 S3 相容 API 與內建 Web UI，可瀏覽和管理檔案。單一容器運行，不需要外部資料庫。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 SeaweedFS UI 的網域
            - key: S3_PASSWORD
              type: STRING
              name: S3 密鑰
              description: S3 API 存取的 Secret Key
        readme: |
            # SeaweedFS

            快速的分散式儲存系統，提供 S3 相容 API。在單一容器中運行 master + volume + filer，內建 Web UI。

            ## 部署後可以做什麼

            1. **開啟網域** — SeaweedFS master UI 顯示 Volume Server 狀態
            2. **瀏覽 Filer** — 在 `/filer/` 路徑瀏覽目錄和檔案
            3. **上傳檔案** — 使用 Web UI 或 curl 上傳
            4. **使用 S3 API** — 用任何 S3 相容客戶端連接
            5. **監控叢集** — 查看 Volume Server 拓撲、磁碟使用量與複製狀態
            6. **管理 Volume** — 檢視 Volume 分配與儲存效率

            ## 主要功能

            - S3 相容 API 物件儲存
            - 類 POSIX 的 Filer 目錄結構
            - 自動檔案分割與複製
            - 內建管理 Web UI
            - FUSE 掛載支援
            - 糾刪碼節省儲存空間
            - 跨資料中心複製

            ## 授權

            Apache-2.0 — [GitHub](https://github.com/seaweedfs/seaweedfs)
