# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: OneDev
spec:
    description: |
        OneDev is a self-hosted Git server with built-in CI/CD, kanban boards, package management, and symbol search. Ships with an embedded database — no external DB required.
    coverImage: https://onedev.io/img/screenshot.png
    icon: https://onedev.io/img/logo.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access OneDev
    tags:
        - Tool
        - Developer Tools
    readme: |
        # OneDev

        A self-hosted Git server with CI/CD pipelines, kanban issue tracking, package registry, and code search — all in a single container with an embedded H2 database.

        ## What You Can Do After Deployment

        1. **Visit your domain** — the setup wizard walks you through creating an admin account and basic configuration
        2. **Create projects** — host Git repositories, browse code with symbol navigation and cross-reference search
        3. **Set up CI/CD** — define build pipelines in YAML, run them with the built-in executor (no separate runner needed)
        4. **Track issues** — use custom fields, boards, milestones, and time tracking
        5. **Manage packages** — publish and consume Maven, npm, PyPI, NuGet, or container images

        ## Key Features

        - Git repository hosting with code search, symbol navigation, and annotated diffs
        - Built-in CI/CD engine with pipeline-as-code (no external runner required)
        - Issue tracking with custom fields, kanban boards, milestones, and time tracking
        - Package registry (Maven, npm, PyPI, NuGet, container images)
        - Pull requests with reviewers, merge checks, and inline comments
        - Dashboard with customizable widgets
        - LDAP, SSO, and two-factor authentication
        - Embedded H2 database — no external database setup needed

        ## License

        MIT — [GitHub](https://github.com/theonedev/onedev) | [Website](https://onedev.io)
    services:
        - name: onedev
          icon: https://onedev.io/img/logo.png
          template: PREBUILT_V2
          spec:
            source:
                image: 1dev/server:14.1.9
            ports:
                - id: web
                  port: 6610
                  type: HTTP
            volumes:
                - id: data
                  dir: /opt/onedev
            env:
                ONEDEV_URL:
                    default: ${ZEABUR_WEB_URL}
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            OneDev es un servidor Git autoalojado con CI/CD integrado, tableros kanban, gestión de paquetes y búsqueda de código. Base de datos embebida, sin necesidad de DB externa.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a OneDev
        readme: |
            # OneDev

            Servidor Git autoalojado con pipelines CI/CD, seguimiento de issues con kanban, registro de paquetes y búsqueda de código — todo en un solo contenedor con base de datos H2 embebida.

            ## Qué puedes hacer después del despliegue

            1. **Visita tu dominio** — el asistente de configuración te guía para crear la cuenta de administrador
            2. **Crea proyectos** — aloja repositorios Git, navega código con búsqueda de símbolos y referencias cruzadas
            3. **Configura CI/CD** — define pipelines en YAML, ejecútalos con el ejecutor integrado (sin Runner externo)
            4. **Gestiona issues** — campos personalizados, tableros kanban, hitos y registro de tiempo
            5. **Gestiona paquetes** — publica y consume Maven, npm, PyPI, NuGet o imágenes de contenedor

            ## Características

            - Alojamiento de repositorios Git con búsqueda de código, navegación de símbolos y diffs anotados
            - Motor CI/CD integrado con pipeline-as-code (sin Runner externo)
            - Seguimiento de issues con campos personalizados, kanban, hitos y tiempo
            - Registro de paquetes (Maven, npm, PyPI, NuGet, imágenes de contenedor)
            - Pull requests con revisores, verificaciones de merge y comentarios inline
            - Dashboard personalizable
            - LDAP, SSO y autenticación de dos factores
            - Base de datos H2 embebida — sin configuración adicional

            ## Licencia

            MIT — [GitHub](https://github.com/theonedev/onedev) | [Sitio web](https://onedev.io)
    id-ID:
        description: |
            OneDev adalah server Git self-hosted dengan CI/CD bawaan, papan kanban, manajemen paket, dan pencarian kode. Database tertanam, tanpa perlu DB eksternal.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses OneDev
        readme: |
            # OneDev

            Server Git self-hosted dengan pipeline CI/CD, pelacakan issue kanban, package registry, dan pencarian kode — semua dalam satu container dengan database H2 tertanam.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — wizard setup memandu pembuatan akun admin dan konfigurasi dasar
            2. **Buat proyek** — hosting repositori Git, jelajahi kode dengan navigasi simbol dan pencarian referensi silang
            3. **Konfigurasi CI/CD** — definisikan pipeline build dalam YAML, jalankan dengan executor bawaan (tanpa Runner terpisah)
            4. **Lacak issue** — field kustom, papan kanban, milestone, dan pelacakan waktu
            5. **Kelola paket** — publish dan gunakan Maven, npm, PyPI, NuGet, atau container image

            ## Fitur

            - Hosting repositori Git dengan pencarian kode, navigasi simbol, dan diff beranotasi
            - Engine CI/CD bawaan dengan pipeline-as-code (tanpa Runner eksternal)
            - Pelacakan issue dengan field kustom, kanban, milestone, dan waktu
            - Package registry (Maven, npm, PyPI, NuGet, container image)
            - Pull request dengan reviewer, merge check, dan komentar inline
            - Dashboard yang dapat dikustomisasi
            - LDAP, SSO, dan autentikasi dua faktor
            - Database H2 tertanam — tanpa konfigurasi tambahan

            ## Lisensi

            MIT — [GitHub](https://github.com/theonedev/onedev) | [Website](https://onedev.io)
    ja-JP:
        description: |
            OneDev はセルフホストの Git サーバーで、CI/CD、カンバン、パッケージ管理、コード検索を内蔵。組み込みデータベースにより外部 DB 不要。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: OneDev にアクセスするためのドメイン
        readme: |
            # OneDev

            セルフホストの Git サーバー。CI/CD パイプライン、カンバン式 Issue 管理、パッケージレジストリ、コード検索を内蔵 — 組み込み H2 データベースで単一コンテナ運用。

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

            1. **ドメインにアクセス** — セットアップウィザードで管理者アカウントと基本設定を作成
            2. **プロジェクト作成** — Git リポジトリをホスト、シンボルナビゲーションとクロスリファレンス検索でコードを閲覧
            3. **CI/CD 設定** — YAML でビルドパイプラインを定義、内蔵エグゼキューターで実行（別途 Runner 不要）
            4. **Issue 管理** — カスタムフィールド、カンバン、マイルストーン、時間追跡
            5. **パッケージ管理** — Maven、npm、PyPI、NuGet、コンテナイメージの公開と利用

            ## 主な機能

            - Git リポジトリホスティング（コード検索、シンボルナビゲーション、注釈付き差分）
            - 内蔵 CI/CD エンジン（パイプライン・アズ・コード、外部 Runner 不要）
            - Issue トラッキング（カスタムフィールド、カンバン、マイルストーン、時間追跡）
            - パッケージレジストリ（Maven、npm、PyPI、NuGet、コンテナイメージ）
            - プルリクエスト（レビュアー、マージチェック、インラインコメント）
            - カスタマイズ可能なダッシュボード
            - LDAP、SSO、二要素認証対応
            - 組み込み H2 データベース — 外部設定不要

            ## ライセンス

            MIT — [GitHub](https://github.com/theonedev/onedev) | [公式サイト](https://onedev.io)
    ko-KR:
        description: |
            OneDev는 셀프호스팅 Git 서버로 CI/CD, 칸반, 패키지 관리, 코드 검색을 내장하고 있습니다. 임베디드 데이터베이스로 외부 DB가 필요 없습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: OneDev에 접속할 도메인
        readme: |
            # OneDev

            셀프호스팅 Git 서버. CI/CD 파이프라인, 칸반 이슈 추적, 패키지 레지스트리, 코드 검색 내장 — 임베디드 H2 데이터베이스로 단일 컨테이너 운영.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 설정 마법사에서 관리자 계정과 기본 설정 생성
            2. **프로젝트 생성** — Git 저장소 호스팅, 심볼 내비게이션과 교차 참조 검색으로 코드 탐색
            3. **CI/CD 설정** — YAML로 빌드 파이프라인 정의, 내장 실행기 사용 (별도 Runner 불필요)
            4. **이슈 추적** — 사용자 정의 필드, 칸반, 마일스톤, 시간 추적
            5. **패키지 관리** — Maven, npm, PyPI, NuGet, 컨테이너 이미지 게시 및 사용

            ## 주요 기능

            - Git 저장소 호스팅 (코드 검색, 심볼 내비게이션, 주석 diff)
            - 내장 CI/CD 엔진 (파이프라인 as 코드, 외부 Runner 불필요)
            - 이슈 추적 (사용자 정의 필드, 칸반, 마일스톤, 시간 추적)
            - 패키지 레지스트리 (Maven, npm, PyPI, NuGet, 컨테이너 이미지)
            - 풀 리퀘스트 (리뷰어, 머지 체크, 인라인 코멘트)
            - 커스터마이징 가능한 대시보드
            - LDAP, SSO, 이중 인증 지원
            - 임베디드 H2 데이터베이스 — 외부 설정 불필요

            ## 라이선스

            MIT — [GitHub](https://github.com/theonedev/onedev) | [웹사이트](https://onedev.io)
    th-TH:
        description: |
            OneDev คือเซิร์ฟเวอร์ Git แบบ self-hosted พร้อม CI/CD, คัมบัง, จัดการแพ็กเกจ และค้นหาโค้ดในตัว ใช้ฐานข้อมูลฝังตัว ไม่ต้องตั้งค่า DB ภายนอก
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง OneDev
        readme: |
            # OneDev

            เซิร์ฟเวอร์ Git แบบ self-hosted พร้อม CI/CD pipeline, ติดตาม issue แบบคัมบัง, package registry และค้นหาโค้ด — ทั้งหมดในคอนเทนเนอร์เดียวพร้อมฐานข้อมูล H2 ฝังตัว

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

            1. **เข้าสู่โดเมน** — วิซาร์ดตั้งค่าแนะนำการสร้างบัญชีแอดมินและการกำหนดค่าพื้นฐาน
            2. **สร้างโปรเจกต์** — โฮสต์ Git repository เรียกดูโค้ดด้วย symbol navigation และค้นหาแบบ cross-reference
            3. **ตั้งค่า CI/CD** — กำหนด build pipeline ใน YAML รันด้วย executor ในตัว (ไม่ต้องติดตั้ง Runner แยก)
            4. **ติดตาม issue** — ฟิลด์กำหนดเอง, คัมบัง, milestone และติดตามเวลา
            5. **จัดการแพ็กเกจ** — เผยแพร่และใช้ Maven, npm, PyPI, NuGet หรือ container image

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

            - โฮสต์ Git repository พร้อมค้นหาโค้ด, symbol navigation และ annotated diff
            - CI/CD engine ในตัว (pipeline-as-code ไม่ต้องใช้ Runner ภายนอก)
            - ติดตาม issue พร้อมฟิลด์กำหนดเอง, คัมบัง, milestone และเวลา
            - Package registry (Maven, npm, PyPI, NuGet, container image)
            - Pull request พร้อม reviewer, merge check และ inline comment
            - แดชบอร์ดปรับแต่งได้
            - รองรับ LDAP, SSO และยืนยันตัวตนสองขั้นตอน
            - ฐานข้อมูล H2 ฝังตัว — ไม่ต้องตั้งค่าเพิ่มเติม

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

            MIT — [GitHub](https://github.com/theonedev/onedev) | [เว็บไซต์](https://onedev.io)
    zh-CN:
        description: |
            OneDev 是自托管的 Git 服务器，内置 CI/CD、看板、包管理和代码搜索。使用嵌入式数据库，无需额外配置数据库。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 OneDev 的域名
        readme: |
            # OneDev

            自托管的 Git 服务器，内置 CI/CD 流水线、看板式 Issue 跟踪、包注册表和代码搜索 — 单容器搭配嵌入式 H2 数据库。

            ## 部署后可以做什么

            1. **打开域名** — 设置向导引导您创建管理员账号和基本配置
            2. **创建项目** — 托管 Git 仓库，使用符号导航和交叉引用搜索浏览代码
            3. **配置 CI/CD** — 用 YAML 定义构建流水线，使用内置执行器（无需额外 Runner）
            4. **跟踪 Issue** — 自定义字段、看板、里程碑和时间跟踪
            5. **管理包** — 发布和使用 Maven、npm、PyPI、NuGet 或容器镜像

            ## 主要功能

            - Git 仓库托管，支持代码搜索、符号导航和标注差异对比
            - 内置 CI/CD 引擎，支持流水线即代码（无需额外 Runner）
            - Issue 跟踪，支持自定义字段、看板、里程碑和时间跟踪
            - 包注册表（Maven、npm、PyPI、NuGet、容器镜像）
            - Pull Request，支持审查者、合并检查和行内评论
            - 可自定义小组件的仪表板
            - 支持 LDAP、SSO 和双因素认证
            - 嵌入式 H2 数据库，无需额外配置

            ## 许可证

            MIT — [GitHub](https://github.com/theonedev/onedev) | [官网](https://onedev.io)
    zh-TW:
        description: |
            OneDev 是自架的 Git 伺服器，內建 CI/CD、看板、套件管理和程式碼搜尋。使用嵌入式資料庫，無需額外設定資料庫。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 OneDev 的網域
        readme: |
            # OneDev

            自架的 Git 伺服器，內建 CI/CD 管線、看板式 Issue 追蹤、套件註冊表和程式碼搜尋 — 單一容器搭配嵌入式 H2 資料庫。

            ## 部署後可以做什麼

            1. **開啟網域** — 設定精靈引導您建立管理員帳號和基本設定
            2. **建立專案** — 託管 Git 倉庫，使用符號導覽和交叉引用搜尋瀏覽程式碼
            3. **設定 CI/CD** — 以 YAML 定義建置管線，使用內建執行器（無需額外 Runner）
            4. **追蹤 Issue** — 自訂欄位、看板、里程碑和時間追蹤
            5. **管理套件** — 發布和使用 Maven、npm、PyPI、NuGet 或容器映像

            ## 主要功能

            - Git 倉庫託管，支援程式碼搜尋、符號導覽和標註差異比較
            - 內建 CI/CD 引擎，支援管線即程式碼（無需額外 Runner）
            - Issue 追蹤，支援自訂欄位、看板、里程碑和時間追蹤
            - 套件註冊表（Maven、npm、PyPI、NuGet、容器映像）
            - Pull Request，支援審查者、合併檢查和行內留言
            - 可自訂小工具的儀表板
            - 支援 LDAP、SSO 和雙因素認證
            - 嵌入式 H2 資料庫，無需額外設定

            ## 授權

            MIT — [GitHub](https://github.com/theonedev/onedev) | [官網](https://onedev.io)
