# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Gogs
spec:
    description: |
        Gogs is a painless self-hosted Git service written in Go. Lightweight, easy to install, and runs anywhere Go compiles — including Linux, macOS, Windows, and ARM. No external dependencies needed.
    coverImage: https://raw.githubusercontent.com/gogs/gogs/main/public/img/gogs-hero.png
    icon: https://raw.githubusercontent.com/gogs/gogs/main/public/img/favicon.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Gogs
    tags:
        - Tool
        - Developer Tools
    readme: |
        # Gogs

        A painless self-hosted Git service. Gogs is a single binary written in Go that provides repository hosting, issue tracking, pull requests, and a web-based code editor — all with minimal resource usage.

        ## What You Can Do After Deployment

        1. **Visit your domain** — the install wizard appears on first access; keep the default database setting and configure your site
        2. **Register an account** — the first registered user becomes the site administrator
        3. **Create repositories** — push code via HTTPS or SSH, browse with the built-in web UI
        4. **Collaborate** — open issues, submit pull requests, review code, and manage organizations

        ## Key Features

        - Git repository hosting with web-based code browsing and editing
        - Issues and pull requests with labels, milestones, and assignees
        - Organization and team management
        - Repository webhooks (Slack, Discord, Dingtalk, and more)
        - Git hooks, deploy keys, and Git LFS support
        - Repository mirroring from other Git hosts
        - Built-in wiki per repository
        - Lightweight — runs comfortably on a Raspberry Pi

        ## License

        MIT — [GitHub](https://github.com/gogs/gogs) | [Website](https://gogs.io)
    services:
        - name: gogs
          icon: https://raw.githubusercontent.com/gogs/gogs/main/public/img/favicon.png
          template: PREBUILT_V2
          spec:
            source:
                image: gogs/gogs:0.14.2
            ports:
                - id: web
                  port: 3000
                  type: HTTP
            volumes:
                - id: data
                  dir: /data
            healthCheck:
                type: TCP
                port: web
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Gogs es un servicio Git autoalojado y ligero escrito en Go. Fácil de instalar y sin dependencias externas.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Gogs
        readme: |
            # Gogs

            Servicio Git autoalojado y ligero. Un único binario escrito en Go que ofrece alojamiento de repositorios, seguimiento de issues, pull requests y editor de código web.

            ## Qué puedes hacer después del despliegue

            1. **Visita tu dominio** — el asistente de instalación aparece en el primer acceso; mantén la configuración de base de datos predeterminada
            2. **Registra una cuenta** — la primera cuenta será administrador
            3. **Crea repositorios** — envía código vía HTTPS o SSH, navega con la interfaz web
            4. **Colabora** — crea issues, envía pull requests, revisa código, gestiona organizaciones

            ## Características

            - Alojamiento de repositorios Git con navegación y edición web
            - Issues y pull requests con etiquetas, hitos y asignaciones
            - Gestión de organizaciones y equipos
            - Webhooks de repositorio (Slack, Discord, Dingtalk, etc.)
            - Git Hooks, claves de despliegue y soporte Git LFS
            - Mirroring de repositorios desde otros hosts Git
            - Wiki integrado por repositorio
            - Ligero — funciona en una Raspberry Pi

            ## Licencia

            MIT — [GitHub](https://github.com/gogs/gogs)
    id-ID:
        description: |
            Gogs adalah layanan Git self-hosted ringan yang ditulis dalam Go. Mudah diinstal, tanpa dependensi eksternal.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Gogs
        readme: |
            # Gogs

            Layanan Git self-hosted yang ringan. Binary tunggal ditulis dalam Go, menyediakan hosting repositori, pelacakan issue, pull request, dan editor kode web.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — wizard instalasi muncul saat pertama kali diakses; pertahankan pengaturan database default
            2. **Daftar akun** — akun pertama menjadi administrator
            3. **Buat repositori** — push kode via HTTPS atau SSH, jelajahi dengan web UI
            4. **Kolaborasi** — buat issues, submit pull request, review kode, kelola organisasi

            ## Fitur

            - Hosting repositori Git dengan browsing dan editing kode via web
            - Issues dan pull request dengan label, milestone, dan assignee
            - Manajemen organisasi dan tim
            - Webhooks repositori (Slack, Discord, Dingtalk, dll.)
            - Git Hooks, deploy keys, dan dukungan Git LFS
            - Mirroring repositori dari host Git lain
            - Wiki bawaan per repositori
            - Ringan — berjalan lancar di Raspberry Pi

            ## Lisensi

            MIT — [GitHub](https://github.com/gogs/gogs)
    ja-JP:
        description: |
            Gogsは Go で書かれた軽量なセルフホスト Git サービスです。簡単にインストールでき、外部依存なしに動作します。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Gogsにアクセスするためのドメイン
        readme: |
            # Gogs

            軽量なセルフホスト Git サービス。Go で書かれた単一バイナリで、リポジトリホスティング、Issue トラッキング、プルリクエスト、Web コードエディタを提供します。

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

            1. **ドメインにアクセス** — 初回アクセス時にインストールウィザードが表示されます。デフォルトのデータベース設定のまま進めてください
            2. **アカウント登録** — 最初のアカウントが管理者になります
            3. **リポジトリを作成** — HTTPS または SSH でコードをプッシュ、内蔵 Web UI で閲覧
            4. **コラボレーション** — Issues 作成、プルリクエスト提出、コードレビュー、組織管理

            ## 主な機能

            - Git リポジトリホスティング（Web ベースのコード閲覧・編集）
            - Issues とプルリクエスト（ラベル・マイルストーン・アサイン対応）
            - 組織とチーム管理
            - リポジトリ Webhooks（Slack、Discord、Dingtalk 等）
            - Git Hooks、デプロイキー、Git LFS サポート
            - 他の Git ホストからのリポジトリミラーリング
            - リポジトリごとの内蔵 Wiki
            - 軽量 — Raspberry Pi でも快適に動作

            ## ライセンス

            MIT — [GitHub](https://github.com/gogs/gogs)
    ko-KR:
        description: |
            Gogs는 Go로 작성된 경량 셀프호스팅 Git 서비스입니다. 설치가 간단하며 외부 의존성 없이 실행됩니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Gogs에 접속할 도메인
        readme: |
            # Gogs

            경량 셀프호스팅 Git 서비스. Go로 작성된 단일 바이너리로 저장소 호스팅, 이슈 추적, 풀 리퀘스트, 웹 코드 편집기를 제공합니다.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 처음 접속 시 설치 마법사가 나타납니다. 기본 데이터베이스 설정을 유지하세요
            2. **계정 등록** — 첫 번째 계정이 관리자가 됩니다
            3. **저장소 생성** — HTTPS 또는 SSH로 코드 푸시, 내장 Web UI로 탐색
            4. **협업** — 이슈 생성, 풀 리퀘스트 제출, 코드 리뷰, 조직 관리

            ## 주요 기능

            - Git 저장소 호스팅 (웹 기반 코드 탐색 및 편집)
            - 이슈와 풀 리퀘스트 (라벨, 마일스톤, 담당자 지원)
            - 조직 및 팀 관리
            - 저장소 Webhooks (Slack, Discord, Dingtalk 등)
            - Git Hooks, 배포 키, Git LFS 지원
            - 다른 Git 호스트에서 저장소 미러링
            - 저장소별 내장 Wiki
            - 경량 — Raspberry Pi에서도 원활하게 실행

            ## 라이선스

            MIT — [GitHub](https://github.com/gogs/gogs)
    th-TH:
        description: |
            Gogs คือบริการ Git แบบ self-hosted ที่เบาและเขียนด้วย Go ติดตั้งง่าย ไม่ต้องพึ่งพาบริการภายนอก
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Gogs
        readme: |
            # Gogs

            บริการ Git แบบ self-hosted ที่เบา ไบนารีเดียวเขียนด้วย Go ให้บริการโฮสติ้ง repository, ติดตาม issue, pull request และ web code editor

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

            1. **เข้าสู่โดเมน** — วิซาร์ดการติดตั้งจะปรากฏเมื่อเข้าครั้งแรก ใช้การตั้งค่าฐานข้อมูลเริ่มต้น
            2. **สมัครบัญชี** — บัญชีแรกจะเป็นผู้ดูแลระบบ
            3. **สร้าง repository** — push โค้ดผ่าน HTTPS หรือ SSH เรียกดูด้วย web UI
            4. **ทำงานร่วมกัน** — สร้าง issues, ส่ง pull request, รีวิวโค้ด, จัดการองค์กร

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

            - โฮสติ้ง Git repository พร้อมเรียกดูและแก้ไขโค้ดผ่านเว็บ
            - Issues และ pull request พร้อมป้ายกำกับ, milestone และ assignee
            - จัดการองค์กรและทีม
            - Webhooks ของ repository (Slack, Discord, Dingtalk ฯลฯ)
            - Git Hooks, deploy keys และรองรับ Git LFS
            - มิเรอร์ repository จาก Git host อื่น
            - Wiki ในตัวสำหรับแต่ละ repository
            - เบา — ทำงานได้บน Raspberry Pi

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

            MIT — [GitHub](https://github.com/gogs/gogs)
    zh-CN:
        description: |
            Gogs 是用 Go 编写的轻量级自托管 Git 服务。安装简单，无需外部依赖即可运行。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Gogs 的域名
        readme: |
            # Gogs

            轻量级自托管 Git 服务。Gogs 是用 Go 编写的单一二进制文件，提供仓库托管、Issue 跟踪、Pull Request 和网页代码编辑器，资源占用极低。

            ## 部署后可以做什么

            1. **打开域名** — 首次访问会出现安装向导，保持默认数据库设置，完成站点配置
            2. **注册账号** — 第一个注册的账号将成为管理员
            3. **创建仓库** — 通过 HTTPS 或 SSH 推送代码，使用内置 Web UI 浏览
            4. **协作** — 创建 Issues、提交 Pull Requests、审查代码、管理组织

            ## 主要功能

            - Git 仓库托管，网页浏览与编辑代码
            - Issues 和 Pull Requests，支持标签、里程碑、指派
            - 组织与团队管理
            - 仓库 Webhooks（Slack、Discord、Dingtalk 等）
            - Git Hooks、Deploy Keys 和 Git LFS 支持
            - 从其他 Git 主机镜像仓库
            - 每个仓库内置 Wiki
            - 轻量级 — 可在 Raspberry Pi 上流畅运行

            ## 授权

            MIT — [GitHub](https://github.com/gogs/gogs)
    zh-TW:
        description: |
            Gogs 是用 Go 編寫的輕量級自架 Git 服務。安裝簡單，無需外部依賴即可運行。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Gogs 的網域
        readme: |
            # Gogs

            輕量級自架 Git 服務。Gogs 是用 Go 編寫的單一執行檔，提供倉庫託管、Issue 追蹤、Pull Request 和網頁程式碼編輯器，資源佔用極低。

            ## 部署後可以做什麼

            1. **開啟網域** — 首次存取會出現安裝精靈，保持預設資料庫設定，完成站點設定
            2. **註冊帳號** — 第一個註冊的帳號會成為管理員
            3. **建立倉庫** — 透過 HTTPS 或 SSH 推送程式碼，使用內建 Web UI 瀏覽
            4. **協作** — 開啟 Issues、提交 Pull Requests、審查程式碼、管理組織

            ## 主要功能

            - Git 倉庫託管，支援網頁瀏覽與編輯程式碼
            - Issues 和 Pull Requests，支援標籤、里程碑、指派
            - 組織與團隊管理
            - 倉庫 Webhooks（Slack、Discord、Dingtalk 等）
            - Git Hooks、Deploy Keys 和 Git LFS 支援
            - 從其他 Git 主機鏡像倉庫
            - 每個倉庫內建 Wiki
            - 輕量級 — 可在 Raspberry Pi 上流暢運行

            ## 授權

            MIT — [GitHub](https://github.com/gogs/gogs)
