# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Piwigo
spec:
    description: |
        Piwigo is a full-featured, self-hosted photo gallery with album management, batch uploading, user permissions, and plugin support. Manage thousands of photos with tags, smart albums, and a responsive web interface. Uses the LinuxServer.io image with built-in SQLite support.
    coverImage: https://avatars.githubusercontent.com/u/4547872
    icon: https://avatars.githubusercontent.com/u/4547872
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Piwigo
    tags:
        - Tool
        - Photography
        - Media
    readme: |
        # Piwigo

        A full-featured, self-hosted photo gallery for managing and sharing your photo collection. Supports albums, tags, batch uploads, user permissions, and hundreds of plugins and themes.

        ## Default Setup

        1. **Visit your domain** after deployment
        2. **Run the installer** — on first access, Piwigo shows a setup wizard to configure the database and create an admin account
        3. **Choose SQLite** — select SQLite as the database during setup for the simplest configuration (no external database needed)
        4. **Start uploading** — add photos individually or in batch

        ## What You Can Do After Deployment

        1. **Upload photos** — drag-and-drop batch upload with automatic thumbnail generation
        2. **Organize albums** — create nested albums with descriptions and cover images
        3. **Tag and search** — add tags to photos for easy discovery and smart album creation
        4. **Manage users** — create user accounts with different permission levels (admin, guest, etc.)
        5. **Install plugins** — extend functionality with hundreds of available plugins
        6. **Customize themes** — change the gallery appearance with community themes

        ## Key Features

        - Album management with nested sub-albums
        - Batch upload with drag-and-drop support
        - Automatic thumbnail and derivative generation
        - Tag-based organization and smart albums
        - User and group permission management
        - Plugin system with hundreds of extensions
        - Responsive web interface with mobile support
        - EXIF and IPTC metadata display
        - Multiple image format support (JPEG, PNG, GIF, TIFF, WebP)

        ## Volumes

        - `/config` — Piwigo configuration files and database
        - `/gallery` — photo storage directory

        ## License

        GPL-2.0 — [GitHub](https://github.com/Piwigo/Piwigo) | [Website](https://piwigo.org)
    services:
        - name: piwigo
          icon: https://avatars.githubusercontent.com/u/4547872
          template: PREBUILT_V2
          spec:
            source:
                image: linuxserver/piwigo:16.2.0
            ports:
                - id: web
                  port: 80
                  type: HTTP
            volumes:
                - id: config
                  dir: /config
                - id: gallery
                  dir: /gallery
            env:
                PGID:
                    default: "1000"
                PUID:
                    default: "1000"
                TZ:
                    default: UTC
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Piwigo es una galeria de fotos autoalojada con gestion de albumes, subida masiva, permisos de usuario y soporte de plugins. Gestiona miles de fotos con etiquetas y albumes inteligentes.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Piwigo
        readme: |
            # Piwigo

            Galeria de fotos autoalojada con albumes, etiquetas, subida masiva y permisos de usuario.

            ## Configuracion inicial

            1. **Visita tu dominio** — despues del despliegue
            2. **Ejecuta el instalador** — configura la base de datos y crea una cuenta de admin
            3. **Elige SQLite** — la configuracion mas sencilla
            4. **Empieza a subir** — anade fotos individual o en lote

            ## Que puedes hacer despues del despliegue

            1. **Subir fotos** — subida masiva con arrastrar y soltar
            2. **Organizar albumes** — crea albumes anidados
            3. **Etiquetar y buscar** — organiza fotos con etiquetas
            4. **Gestionar usuarios** — cuentas con diferentes niveles de permisos
            5. **Instalar plugins** — cientos de extensiones disponibles

            ## Licencia

            GPL-2.0 — [GitHub](https://github.com/Piwigo/Piwigo)
    id-ID:
        description: |
            Piwigo adalah galeri foto self-hosted dengan manajemen album, upload massal, izin pengguna, dan dukungan plugin. Kelola ribuan foto dengan tag, album pintar, dan antarmuka web responsif.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Piwigo
        readme: |
            # Piwigo

            Galeri foto self-hosted dengan album, tag, upload massal, dan izin pengguna.

            ## Pengaturan Awal

            1. **Buka domain** — setelah deploy selesai
            2. **Jalankan installer** — konfigurasi database dan buat akun admin
            3. **Pilih SQLite** — konfigurasi paling sederhana
            4. **Mulai upload** — tambahkan foto satu per satu atau massal

            ## Apa yang bisa dilakukan setelah deploy

            1. **Upload foto** — upload massal drag-and-drop
            2. **Atur album** — buat album bersarang
            3. **Tag dan cari** — organisir foto dengan tag
            4. **Kelola pengguna** — akun dengan level izin berbeda
            5. **Install plugin** — ratusan ekstensi tersedia

            ## Lisensi

            GPL-2.0 — [GitHub](https://github.com/Piwigo/Piwigo)
    ja-JP:
        description: |
            Piwigoはフル機能のセルフホスト型フォトギャラリーです。アルバム管理、バッチアップロード、ユーザー権限、プラグインに対応。タグ、スマートアルバム、レスポンシブWebインターフェースを提供。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Piwigoにアクセスするためのドメイン
        readme: |
            # Piwigo

            フル機能のセルフホスト型フォトギャラリー。写真コレクションの管理と共有。

            ## 初期セットアップ

            1. **ドメインにアクセス** — デプロイ後に開く
            2. **インストーラーを実行** — 初回アクセス時にデータベースと管理者アカウントを設定
            3. **SQLiteを選択** — 最もシンプルな設定
            4. **アップロード開始** — 個別またはバッチで写真をアップロード

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

            1. **写真をアップロード** — ドラッグ＆ドロップのバッチアップロード
            2. **アルバムを整理** — ネストしたアルバムを作成
            3. **タグと検索** — タグで写真を整理
            4. **ユーザーを管理** — 権限レベル別のアカウント作成
            5. **プラグインをインストール** — 数百の拡張機能

            ## ライセンス

            GPL-2.0 — [GitHub](https://github.com/Piwigo/Piwigo)
    ko-KR:
        description: |
            Piwigo는 앨범 관리, 일괄 업로드, 사용자 권한, 플러그인을 지원하는 셀프호스팅 사진 갤러리입니다. 태그, 스마트 앨범, 반응형 웹 인터페이스를 제공합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Piwigo에 접속할 도메인
        readme: |
            # Piwigo

            셀프호스팅 사진 갤러리. 사진 컬렉션을 관리하고 공유합니다.

            ## 초기 설정

            1. **도메인 접속** — 배포 후 방문
            2. **설치 마법사 실행** — 첫 접속 시 데이터베이스와 관리자 계정 설정
            3. **SQLite 선택** — 가장 간단한 설정
            4. **업로드 시작** — 개별 또는 일괄 업로드

            ## 배포 후 할 수 있는 것

            1. **사진 업로드** — 드래그 앤 드롭 일괄 업로드
            2. **앨범 정리** — 중첩 앨범 생성
            3. **태그와 검색** — 태그로 사진 정리
            4. **사용자 관리** — 권한 수준별 계정 생성
            5. **플러그인 설치** — 수백 개의 확장 기능

            ## 라이선스

            GPL-2.0 — [GitHub](https://github.com/Piwigo/Piwigo)
    th-TH:
        description: |
            Piwigo คือแกลเลอรีภาพถ่ายแบบ self-hosted พร้อมจัดการอัลบั้ม อัปโหลดจำนวนมาก สิทธิ์ผู้ใช้ และรองรับปลั๊กอิน จัดการภาพหลายพันรูปด้วยแท็กและอัลบั้มอัจฉริยะ
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Piwigo
        readme: |
            # Piwigo

            แกลเลอรีภาพถ่ายแบบ self-hosted พร้อมอัลบั้ม แท็ก อัปโหลดจำนวนมาก และสิทธิ์ผู้ใช้

            ## การตั้งค่าเริ่มต้น

            1. **เข้าสู่โดเมน** — หลังจากติดตั้งเสร็จ
            2. **รันตัวติดตั้ง** — ตั้งค่าฐานข้อมูลและสร้างบัญชีผู้ดูแล
            3. **เลือก SQLite** — การตั้งค่าที่ง่ายที่สุด
            4. **เริ่มอัปโหลด** — เพิ่มรูปภาพทีละรูปหรือจำนวนมาก

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

            1. **อัปโหลดรูปภาพ** — อัปโหลดจำนวนมากแบบลากและวาง
            2. **จัดระเบียบอัลบั้ม** — สร้างอัลบั้มซ้อนกัน
            3. **แท็กและค้นหา** — จัดระเบียบรูปภาพด้วยแท็ก
            4. **จัดการผู้ใช้** — สร้างบัญชีที่มีระดับสิทธิ์ต่างกัน
            5. **ติดตั้งปลั๊กอิน** — ส่วนขยายหลายร้อยรายการ

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

            GPL-2.0 — [GitHub](https://github.com/Piwigo/Piwigo)
    zh-CN:
        description: |
            Piwigo 是功能完整的自托管相册，支持相册管理、批量上传、用户权限和插件。管理数千张照片，提供标签、智能相册和响应式网页界面。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Piwigo 的域名
        readme: |
            # Piwigo

            功能完整的自托管相册，管理和分享照片收藏。支持相册、标签、批量上传和用户权限。

            ## 初始设置

            1. **打开域名** — 部署完成后访问
            2. **运行安装向导** — 首次访问时配置数据库和管理员账号
            3. **选择 SQLite** — 安装时选择 SQLite 作为数据库
            4. **开始上传** — 单张或批量上传照片

            ## 部署后可以做什么

            1. **上传照片** — 拖拽式批量上传，自动生成缩略图
            2. **整理相册** — 创建嵌套相册
            3. **标签和搜索** — 用标签整理照片
            4. **管理用户** — 创建不同权限级别的账号
            5. **安装插件** — 数百种插件扩展功能

            ## 授权

            GPL-2.0 — [GitHub](https://github.com/Piwigo/Piwigo)
    zh-TW:
        description: |
            Piwigo 是功能完整的自架相簿，支援相簿管理、批次上傳、使用者權限和外掛程式。管理數千張照片，提供標籤、智慧相簿和響應式網頁介面。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Piwigo 的網域
        readme: |
            # Piwigo

            功能完整的自架相簿，管理和分享照片收藏。支援相簿、標籤、批次上傳和使用者權限。

            ## 初始設定

            1. **開啟網域** — 部署完成後造訪
            2. **執行安裝精靈** — 首次存取時設定資料庫和管理員帳號
            3. **選擇 SQLite** — 安裝時選擇 SQLite 作為資料庫，最簡單的設定
            4. **開始上傳** — 單張或批次上傳照片

            ## 部署後可以做什麼

            1. **上傳照片** — 拖放式批次上傳，自動產生縮圖
            2. **整理相簿** — 建立巢狀相簿
            3. **標籤和搜尋** — 用標籤整理照片
            4. **管理使用者** — 建立不同權限等級的帳號
            5. **安裝外掛** — 數百種外掛擴充功能
            6. **自訂主題** — 變更相簿外觀

            ## 授權

            GPL-2.0 — [GitHub](https://github.com/Piwigo/Piwigo)
