# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Gitblit
spec:
    description: |
        Gitblit is a pure Java Git solution for managing, viewing, and serving Git repositories. It includes a built-in Jetty server, embedded database, web-based repository browser, and supports Git, HTTP, and SSH transports with no external dependencies.
    coverImage: https://www.gitblit.com/gitblt_25_white.png
    icon: https://www.gitblit.com/gitblt_25_white.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Gitblit
    tags:
        - Developer Tools
        - Tool
    readme: |
        # Gitblit

        A pure Java, open-source Git solution for managing, viewing, and serving Git repositories. Gitblit GO is an integrated single-stack solution based on Jetty that requires no external web server, database, or Git installation.

        ## Default Credentials

        - Username: `admin`
        - Password: `admin`

        > Please change the default password immediately after your first login.

        ## Getting Started

        1. **Open your domain** — log in with the default credentials above
        2. **Change the admin password** — go to your user profile to update it immediately
        3. **Create a repository** — click "new repository" from the Repositories page
        4. **Clone and push** — use the HTTP clone URL shown on the repository page
        5. **Manage users and teams** — create accounts and organize them into teams with specific permissions

        ## Key Features

        - Web-based repository browser with syntax highlighting and blame view
        - Built-in Jetty server and embedded database (zero external dependencies)
        - Git hosting over HTTP, HTTPS, and SSH transports
        - User and team management with fine-grained access controls
        - Repository forking and pull request workflows
        - Commit search, activity feeds, and Gravatar integration
        - Markdown and reStructuredText rendering for documentation
        - Plugin architecture for extending functionality
        - LDAP authentication support
        - RSS feeds for repository activity

        ## License

        Apache-2.0 — [GitHub](https://github.com/gitblit-org/gitblit)
    services:
        - name: gitblit
          icon: https://www.gitblit.com/gitblt_25_white.png
          template: PREBUILT_V2
          spec:
            source:
                image: gitblit/gitblit:1.10.0
            ports:
                - id: web
                  port: 8080
                  type: HTTP
                - id: https
                  port: 8443
                  type: TCP
                - id: ssh
                  port: 29418
                  type: TCP
            volumes:
                - id: data
                  dir: /opt/gitblit/data
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
            portForwarding:
                enabled: true
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Gitblit es una solucion Git pura en Java para gestionar, visualizar y servir repositorios Git. Incluye servidor Jetty integrado, base de datos embebida, navegador web de repositorios y soporte para Git, HTTP y SSH.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Gitblit
        readme: |
            # Gitblit

            Solucion Git de codigo abierto en Java puro. Gitblit GO es una solucion integrada basada en Jetty sin necesidad de servidor web, base de datos o instalacion de Git externos.

            ## Credenciales por defecto

            - Usuario: `admin`
            - Contrasena: `admin`

            > Cambie la contrasena inmediatamente despues del primer inicio de sesion.

            ## Primeros pasos

            1. **Abrir el dominio** — iniciar sesion con las credenciales por defecto
            2. **Cambiar la contrasena del admin** — actualizar en el perfil de usuario
            3. **Crear un repositorio** — desde la pagina de Repositories
            4. **Clonar y enviar** — usar la URL HTTP del repositorio
            5. **Gestionar usuarios y equipos** — crear cuentas y organizar en equipos

            ## Caracteristicas

            - Navegador de repositorios web
            - Servidor Jetty y base de datos integrados
            - Alojamiento Git HTTP/HTTPS/SSH
            - Gestion de usuarios y equipos
            - Fork y Pull Requests
            - Soporte LDAP

            ## Licencia

            Apache-2.0 — [GitHub](https://github.com/gitblit-org/gitblit)
    id-ID:
        description: |
            Gitblit adalah solusi Git murni Java untuk mengelola, melihat, dan menyajikan repositori Git. Dilengkapi server Jetty bawaan, database embedded, browser repositori web, dan mendukung Git, HTTP, dan SSH.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Gitblit
        readme: |
            # Gitblit

            Solusi Git open-source murni Java. Gitblit GO adalah solusi terintegrasi berbasis Jetty tanpa perlu web server, database, atau instalasi Git eksternal.

            ## Kredensial Default

            - Nama pengguna: `admin`
            - Kata sandi: `admin`

            > Segera ubah kata sandi default setelah login pertama.

            ## Memulai

            1. **Buka domain** — login dengan kredensial default
            2. **Ubah password admin** — perbarui di profil pengguna
            3. **Buat repositori** — dari halaman Repositories
            4. **Clone dan push** — gunakan URL HTTP repositori
            5. **Kelola pengguna dan tim** — buat akun dan atur ke dalam tim

            ## Fitur

            - Browser repositori berbasis web
            - Server Jetty dan database bawaan
            - Hosting Git HTTP/HTTPS/SSH
            - Manajemen pengguna dan tim
            - Fork dan Pull Request
            - Dukungan LDAP

            ## Lisensi

            Apache-2.0 — [GitHub](https://github.com/gitblit-org/gitblit)
    ja-JP:
        description: |
            Gitblit は純粋な Java Git ソリューションで、Git リポジトリの管理、閲覧、ホスティングを行います。組み込み Jetty サーバー、データベース、Web リポジトリブラウザを搭載し、Git/HTTP/SSH をサポート。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Gitblit にアクセスするためのドメイン
        readme: |
            # Gitblit

            純粋な Java オープンソース Git ソリューション。Gitblit GO は Jetty ベースの統合スタックで、外部 Web サーバー、データベース、Git のインストール不要。

            ## デフォルト認証情報

            - ユーザー名：`admin`
            - パスワード：`admin`

            > 初回ログイン後、すぐにデフォルトパスワードを変更してください。

            ## はじめに

            1. **ドメインを開く** — デフォルト認証情報でログイン
            2. **管理者パスワードを変更** — プロフィール設定で更新
            3. **リポジトリを作成** — Repositories ページから新規作成
            4. **クローンとプッシュ** — リポジトリページの HTTP URL を使用
            5. **ユーザーとチーム管理** — アカウントを作成しチームに編成

            ## 主な機能

            - Web リポジトリブラウザ
            - 組み込み Jetty と データベース
            - HTTP/HTTPS/SSH Git ホスティング
            - ユーザー・チーム管理
            - Fork と Pull Request
            - LDAP 認証サポート

            ## ライセンス

            Apache-2.0 — [GitHub](https://github.com/gitblit-org/gitblit)
    ko-KR:
        description: |
            Gitblit은 순수 Java Git 솔루션으로 Git 저장소 관리, 브라우징, 호스팅을 제공합니다. 내장 Jetty 서버, 데이터베이스, 웹 저장소 브라우저를 포함하며 Git/HTTP/SSH를 지원합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Gitblit에 접속할 도메인
        readme: |
            # Gitblit

            순수 Java 오픈소스 Git 솔루션. Gitblit GO는 Jetty 기반 통합 스택으로 외부 웹 서버, 데이터베이스, Git 설치 불필요.

            ## 기본 인증 정보

            - 사용자 이름: `admin`
            - 비밀번호: `admin`

            > 첫 로그인 후 즉시 기본 비밀번호를 변경하세요.

            ## 시작하기

            1. **도메인 열기** — 기본 인증 정보로 로그인
            2. **관리자 비밀번호 변경** — 프로필 설정에서 업데이트
            3. **저장소 생성** — Repositories 페이지에서 새로 만들기
            4. **클론 및 푸시** — 저장소 페이지의 HTTP URL 사용
            5. **사용자 및 팀 관리** — 계정 생성 및 팀 구성

            ## 주요 기능

            - 웹 저장소 브라우저
            - 내장 Jetty 및 데이터베이스
            - HTTP/HTTPS/SSH Git 호스팅
            - 사용자/팀 관리
            - Fork 및 Pull Request
            - LDAP 인증 지원

            ## 라이선스

            Apache-2.0 — [GitHub](https://github.com/gitblit-org/gitblit)
    th-TH:
        description: |
            Gitblit คือโซลูชัน Git แบบ Java ล้วนสำหรับจัดการ ดู และให้บริการ Git repository มีเซิร์ฟเวอร์ Jetty ในตัว ฐานข้อมูลในตัว เบราว์เซอร์ repository บนเว็บ และรองรับ Git, HTTP, SSH
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Gitblit
        readme: |
            # Gitblit

            โซลูชัน Git โอเพ่นซอร์สแบบ Java ล้วน Gitblit GO เป็นโซลูชันแบบรวมที่ใช้ Jetty ไม่ต้องติดตั้งเว็บเซิร์ฟเวอร์ ฐานข้อมูล หรือ Git ภายนอก

            ## ข้อมูลเข้าสู่ระบบเริ่มต้น

            - ชื่อผู้ใช้: `admin`
            - รหัสผ่าน: `admin`

            > กรุณาเปลี่ยนรหัสผ่านเริ่มต้นทันทีหลังจากเข้าสู่ระบบครั้งแรก

            ## เริ่มต้นใช้งาน

            1. **เปิดโดเมน** — ล็อกอินด้วยข้อมูลเริ่มต้น
            2. **เปลี่ยนรหัสผ่านแอดมิน** — อัปเดตในโปรไฟล์ผู้ใช้
            3. **สร้าง repository** — จากหน้า Repositories
            4. **Clone และ push** — ใช้ URL HTTP ของ repository
            5. **จัดการผู้ใช้และทีม** — สร้างบัญชีและจัดเป็นทีม

            ## ฟีเจอร์หลัก

            - เบราว์เซอร์ repository บนเว็บ
            - เซิร์ฟเวอร์ Jetty และฐานข้อมูลในตัว
            - โฮสติ้ง Git HTTP/HTTPS/SSH
            - จัดการผู้ใช้และทีม
            - Fork และ Pull Request
            - รองรับ LDAP

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

            Apache-2.0 — [GitHub](https://github.com/gitblit-org/gitblit)
    zh-CN:
        description: |
            Gitblit 是一个纯 Java 的 Git 解决方案，用于管理、浏览和提供 Git 仓库服务。内置 Jetty 服务器、嵌入式数据库、网页仓库浏览器，支持 Git、HTTP 和 SSH 传输，无需外部依赖。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Gitblit 的域名
        readme: |
            # Gitblit

            纯 Java 开源 Git 解决方案。Gitblit GO 是基于 Jetty 的集成单一栈方案，不需要外部 Web 服务器、数据库或 Git 安装。

            ## 默认账号密码

            - 用户名：`admin`
            - 密码：`admin`

            > 请在首次登录后立即更改默认密码。

            ## 开始使用

            1. **打开域名** — 使用默认账密登录
            2. **修改管理员密码** — 前往用户配置文件更新密码
            3. **创建仓库** — 在 Repositories 页面点击「新仓库」
            4. **克隆并推送** — 使用仓库页面显示的 HTTP 克隆 URL
            5. **管理用户和团队** — 创建账号并组织到具有特定权限的团队中

            ## 主要功能

            - 网页仓库浏览器（语法高亮、blame 视图）
            - 内置 Jetty 服务器和嵌入式数据库
            - HTTP、HTTPS 和 SSH Git 托管
            - 用户和团队管理
            - Fork 和 Pull Request 工作流
            - LDAP 认证支持

            ## 许可证

            Apache-2.0 — [GitHub](https://github.com/gitblit-org/gitblit)
    zh-TW:
        description: |
            Gitblit 是一個純 Java 的 Git 解決方案，用於管理、瀏覽和提供 Git 儲存庫服務。內建 Jetty 伺服器、嵌入式資料庫、網頁儲存庫瀏覽器，支援 Git、HTTP 和 SSH 傳輸，無需外部依賴。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Gitblit 的網域
        readme: |
            # Gitblit

            純 Java 開源 Git 解決方案。Gitblit GO 是基於 Jetty 的整合單一堆疊方案，不需要外部網頁伺服器、資料庫或 Git 安裝。

            ## 預設帳號密碼

            - 使用者名稱：`admin`
            - 密碼：`admin`

            > 請在首次登入後立即更改預設密碼。

            ## 開始使用

            1. **開啟網域** — 使用預設帳密登入
            2. **更改管理員密碼** — 前往使用者設定檔更新密碼
            3. **建立儲存庫** — 在 Repositories 頁面點擊「新儲存庫」
            4. **Clone 並推送** — 使用儲存庫頁面顯示的 HTTP clone URL
            5. **管理使用者和團隊** — 建立帳號並組織到具有特定權限的團隊中

            ## 主要功能

            - 網頁儲存庫瀏覽器（語法高亮、blame 檢視）
            - 內建 Jetty 伺服器和嵌入式資料庫（零外部依賴）
            - HTTP、HTTPS 和 SSH Git 託管
            - 使用者和團隊管理
            - 儲存庫 Fork 和 Pull Request 工作流程
            - LDAP 驗證支援

            ## 授權

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