# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Shimmie2
spec:
    description: |
        An easy-to-install community image gallery (booru) written in PHP. Supports tagging, searching, and user management. Uses SQLite by default with no external database required.
    coverImage: https://raw.githubusercontent.com/shish/shimmie2/main/ext/static_files/static/favicon.svg
    icon: https://raw.githubusercontent.com/shish/shimmie2/main/ext/static_files/static/favicon.svg
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Shimmie2
    tags:
        - Gallery
        - Image
    readme: |
        # Shimmie2

        Shimmie2 is a community image gallery (booru) designed for tagging, searching, and managing image collections. Built with PHP and using SQLite by default, it requires no external database.

        ## First-Time Setup

        1. Click the deployed URL to open Shimmie2.
        2. The installer will appear automatically on first visit.
        3. Choose SQLite as your database (default), then set an admin username and password.
        4. Start uploading and tagging images.

        ## Default Port

        - **8000** (HTTP)

        ## Useful Links

        - [Shimmie2 GitHub](https://github.com/shish/shimmie2)
        - [Shimmie2 Wiki](https://github.com/shish/shimmie2/wiki)

        ## License

        GPL-2.0 — [GitHub](https://github.com/shish/shimmie2)
    services:
        - name: shimmie2
          icon: https://raw.githubusercontent.com/shish/shimmie2/main/ext/static_files/static/favicon.svg
          template: PREBUILT_V2
          spec:
            source:
                image: shish2k/shimmie2:2.12.2
            ports:
                - id: web
                  port: 8000
                  type: HTTP
            volumes:
                - id: data
                  dir: /app/data
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Galeria de imagenes comunitaria (booru) facil de instalar, escrita en PHP. Soporta etiquetas, busqueda y gestion de usuarios. Usa SQLite por defecto sin necesidad de base de datos externa.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Shimmie2
        readme: |
            # Shimmie2

            Shimmie2 es una galeria de imagenes comunitaria (booru) disenada para etiquetar, buscar y gestionar colecciones de imagenes. Construida con PHP y usando SQLite por defecto, no requiere base de datos externa.

            ## Configuracion inicial

            1. Haz clic en la URL desplegada para abrir Shimmie2.
            2. El instalador aparecera automaticamente en la primera visita.
            3. Elige SQLite como base de datos (por defecto) y establece un nombre de usuario y contrasena de administrador.
            4. Comienza a subir y etiquetar imagenes.

            ## Puerto predeterminado

            - **8000** (HTTP)

            ## Enlaces utiles

            - [Shimmie2 GitHub](https://github.com/shish/shimmie2)
            - [Shimmie2 Wiki](https://github.com/shish/shimmie2/wiki)

            ## Licencia

            GPL-2.0 — [GitHub](https://github.com/shish/shimmie2)
    id-ID:
        description: |
            Galeri gambar komunitas (booru) yang mudah diinstal, ditulis dalam PHP. Mendukung tag, pencarian, dan manajemen pengguna. Menggunakan SQLite secara default tanpa database eksternal.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Shimmie2
        readme: |
            # Shimmie2

            Shimmie2 adalah galeri gambar komunitas (booru) yang dirancang untuk pemberian tag, pencarian, dan pengelolaan koleksi gambar. Dibangun dengan PHP dan menggunakan SQLite secara default, tidak memerlukan database eksternal.

            ## Pengaturan Awal

            1. Klik URL yang telah di-deploy untuk membuka Shimmie2.
            2. Installer akan muncul secara otomatis pada kunjungan pertama.
            3. Pilih SQLite sebagai database (default), lalu atur nama pengguna dan kata sandi admin.
            4. Mulai mengunggah dan memberi tag pada gambar.

            ## Port Default

            - **8000** (HTTP)

            ## Tautan Berguna

            - [Shimmie2 GitHub](https://github.com/shish/shimmie2)
            - [Shimmie2 Wiki](https://github.com/shish/shimmie2/wiki)

            ## Lisensi

            GPL-2.0 — [GitHub](https://github.com/shish/shimmie2)
    ja-JP:
        description: |
            PHP で構築された簡単にインストールできるコミュニティ画像ギャラリー（booru）。タグ付け、検索、ユーザー管理に対応。デフォルトで SQLite を使用し、外部データベース不要。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Shimmie2 にアクセスするためのドメイン
        readme: |
            # Shimmie2

            Shimmie2 は、タグ付け、検索、画像コレクション管理のためのコミュニティ画像ギャラリー（booru）です。PHP で構築され、デフォルトで SQLite を使用し、外部データベースは不要です。

            ## 初回セットアップ

            1. デプロイされた URL をクリックして Shimmie2 を開きます。
            2. 初回アクセス時にインストーラーが自動的に表示されます。
            3. データベースとして SQLite（デフォルト）を選択し、管理者のユーザー名とパスワードを設定します。
            4. 画像のアップロードとタグ付けを開始します。

            ## デフォルトポート

            - **8000** (HTTP)

            ## 関連リンク

            - [Shimmie2 GitHub](https://github.com/shish/shimmie2)
            - [Shimmie2 Wiki](https://github.com/shish/shimmie2/wiki)

            ## ライセンス

            GPL-2.0 — [GitHub](https://github.com/shish/shimmie2)
    ko-KR:
        description: |
            PHP로 작성된 설치가 간편한 커뮤니티 이미지 갤러리(booru). 태그, 검색, 사용자 관리를 지원하며 기본적으로 SQLite를 사용하여 외부 데이터베이스가 필요 없습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Shimmie2에 접속할 도메인
        readme: |
            # Shimmie2

            Shimmie2는 태그 지정, 검색 및 이미지 컬렉션 관리를 위한 커뮤니티 이미지 갤러리(booru)입니다. PHP로 구축되었으며 기본적으로 SQLite를 사용하여 외부 데이터베이스가 필요하지 않습니다.

            ## 초기 설정

            1. 배포된 URL을 클릭하여 Shimmie2를 엽니다.
            2. 최초 방문 시 설치 프로그램이 자동으로 나타납니다.
            3. 데이터베이스로 SQLite(기본값)를 선택한 후 관리자 사용자 이름과 비밀번호를 설정합니다.
            4. 이미지 업로드 및 태그 지정을 시작합니다.

            ## 기본 포트

            - **8000** (HTTP)

            ## 관련 링크

            - [Shimmie2 GitHub](https://github.com/shish/shimmie2)
            - [Shimmie2 Wiki](https://github.com/shish/shimmie2/wiki)

            ## 라이선스

            GPL-2.0 — [GitHub](https://github.com/shish/shimmie2)
    th-TH:
        description: |
            แกลเลอรีรูปภาพชุมชน (booru) ที่ติดตั้งง่าย เขียนด้วย PHP รองรับแท็ก ค้นหา และจัดการผู้ใช้ ใช้ SQLite เป็นค่าเริ่มต้นโดยไม่ต้องใช้ฐานข้อมูลภายนอก
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Shimmie2
        readme: |
            # Shimmie2

            Shimmie2 เป็นแกลเลอรีรูปภาพชุมชน (booru) ที่ออกแบบมาสำหรับการติดแท็ก ค้นหา และจัดการคอลเลกชันรูปภาพ สร้างด้วย PHP และใช้ SQLite เป็นค่าเริ่มต้น ไม่ต้องใช้ฐานข้อมูลภายนอก

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

            1. คลิก URL ที่ deploy แล้วเพื่อเปิด Shimmie2
            2. ตัวติดตั้งจะปรากฏขึ้นโดยอัตโนมัติเมื่อเข้าชมครั้งแรก
            3. เลือก SQLite เป็นฐานข้อมูล (ค่าเริ่มต้น) แล้วตั้งชื่อผู้ใช้และรหัสผ่านของผู้ดูแลระบบ
            4. เริ่มอัปโหลดและติดแท็กรูปภาพ

            ## พอร์ตเริ่มต้น

            - **8000** (HTTP)

            ## ลิงก์ที่เป็นประโยชน์

            - [Shimmie2 GitHub](https://github.com/shish/shimmie2)
            - [Shimmie2 Wiki](https://github.com/shish/shimmie2/wiki)

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

            GPL-2.0 — [GitHub](https://github.com/shish/shimmie2)
    zh-CN:
        description: |
            简单易装的社区图片库（booru），以 PHP 编写。支持标签、搜索与用户管理，默认使用 SQLite，无需外部数据库。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Shimmie2 的域名
        readme: |
            # Shimmie2

            Shimmie2 是一个社区图片库（booru），设计用于标签、搜索和管理图片集合。以 PHP 构建，默认使用 SQLite，不需要外部数据库。

            ## 首次设置

            1. 点击部署后的网址打开 Shimmie2。
            2. 首次访问时安装程序会自动出现。
            3. 选择 SQLite 作为数据库（默认），然后设置管理员账号与密码。
            4. 开始上传和标记图片。

            ## 默认端口

            - **8000** (HTTP)

            ## 相关链接

            - [Shimmie2 GitHub](https://github.com/shish/shimmie2)
            - [Shimmie2 Wiki](https://github.com/shish/shimmie2/wiki)

            ## 授权

            GPL-2.0 — [GitHub](https://github.com/shish/shimmie2)
    zh-TW:
        description: |
            簡單易裝的社群圖片庫（booru），以 PHP 編寫。支援標籤、搜尋與使用者管理，預設使用 SQLite，無需外部資料庫。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Shimmie2 的網域
        readme: |
            # Shimmie2

            Shimmie2 是一個社群圖片庫（booru），設計用於標籤、搜尋和管理圖片集合。以 PHP 建構，預設使用 SQLite，不需要外部資料庫。

            ## 首次設定

            1. 點擊部署後的網址開啟 Shimmie2。
            2. 首次訪問時安裝程式會自動出現。
            3. 選擇 SQLite 作為資料庫（預設），然後設定管理員帳號與密碼。
            4. 開始上傳和標記圖片。

            ## 預設埠

            - **8000** (HTTP)

            ## 相關連結

            - [Shimmie2 GitHub](https://github.com/shish/shimmie2)
            - [Shimmie2 Wiki](https://github.com/shish/shimmie2/wiki)

            ## 授權

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