# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: webtrees
spec:
    description: |
        webtrees is the leading online collaborative genealogy application. Create and share family trees, manage genealogical records, and collaborate with relatives. Uses SQLite for simple single-container deployment.
    coverImage: https://avatars.githubusercontent.com/u/8925498
    icon: https://avatars.githubusercontent.com/u/8925498
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access webtrees
    tags:
        - Tool
    readme: |
        # webtrees

        The leading online collaborative genealogy application. Build and share your family tree with a powerful, standards-compliant web interface.

        ## First-Time Setup

        After deployment, open your domain. The setup wizard will guide you through initial configuration since we use SQLite mode without preset admin credentials.

        During the wizard:
        - **Database type**: already configured as SQLite
        - **Create your admin account** with username, password, and email

        ## What You Can Do After Deployment

        1. **Build family trees** — add individuals, families, sources, and media
        2. **Collaborate** — invite family members to view and contribute
        3. **Import GEDCOM** — upload existing genealogy data files
        4. **Generate reports** — charts, timelines, statistics, and more
        5. **Install modules** — extend functionality with community themes and modules

        ## Key Features

        - GEDCOM import and export
        - Multi-language support
        - Privacy controls per individual
        - Charts and reports (pedigree, fan, timeline)
        - Media management
        - Source citations and repository tracking

        ## License

        GPL-3.0 — [GitHub](https://github.com/fisharebest/webtrees)
    services:
        - name: webtrees
          icon: https://avatars.githubusercontent.com/u/8925498
          template: PREBUILT_V2
          spec:
            source:
                image: nathanvaughn/webtrees:2.2.5
            ports:
                - id: web
                  port: 80
                  type: HTTP
            volumes:
                - id: webtrees-data
                  dir: /var/www/webtrees/data
            env:
                DB_NAME:
                    default: webtrees
                DB_TYPE:
                    default: sqlite
                LANG:
                    default: en-us
                PRETTY_URLS:
                    default: "True"
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            webtrees es la aplicacion lider de genealogia colaborativa en linea. Crea y comparte arboles genealogicos, gestiona registros y colabora con familiares. Usa SQLite para un despliegue sencillo.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a webtrees
        readme: |
            # webtrees

            La aplicacion lider de genealogia colaborativa en linea. Crea y comparte tu arbol genealogico con una interfaz web potente.

            ## Primera configuracion

            Despues del despliegue, abre tu dominio. El asistente de configuracion te guiara (modo SQLite, sin credenciales de admin preconfiguradas).

            Durante el asistente:
            - **Tipo de base de datos**: ya configurado como SQLite
            - **Crear cuenta de administrador** — establece usuario, contrasena y correo

            ## Que puedes hacer despues del despliegue

            1. **Construir arboles genealogicos** — anadir personas, familias, fuentes y medios
            2. **Colaborar** — invitar a familiares a ver y contribuir
            3. **Importar GEDCOM** — subir datos genealogicos existentes
            4. **Generar informes** — graficos, lineas de tiempo, estadisticas
            5. **Instalar modulos** — ampliar funcionalidad

            ## Licencia

            GPL-3.0 — [GitHub](https://github.com/fisharebest/webtrees)
    id-ID:
        description: |
            webtrees adalah aplikasi silsilah keluarga kolaboratif online terkemuka. Buat dan bagikan pohon keluarga, kelola catatan silsilah, dan berkolaborasi dengan kerabat. Menggunakan SQLite untuk deploy sederhana.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses webtrees
        readme: |
            # webtrees

            Aplikasi silsilah keluarga kolaboratif online terkemuka. Buat dan bagikan pohon keluarga Anda dengan antarmuka web yang kuat.

            ## Pengaturan Pertama

            Setelah deploy, buka domain Anda. Wizard pengaturan akan memandu konfigurasi awal (mode SQLite, tanpa kredensial admin preset).

            Selama wizard:
            - **Tipe database**: sudah dikonfigurasi sebagai SQLite
            - **Buat akun admin** — atur username, password, dan email

            ## Apa yang bisa dilakukan setelah deploy

            1. **Bangun pohon keluarga** — tambahkan individu, keluarga, sumber, dan media
            2. **Kolaborasi** — undang anggota keluarga untuk melihat dan berkontribusi
            3. **Impor GEDCOM** — unggah data silsilah yang ada
            4. **Buat laporan** — bagan, timeline, statistik
            5. **Instal modul** — perluas fungsionalitas

            ## Lisensi

            GPL-3.0 — [GitHub](https://github.com/fisharebest/webtrees)
    ja-JP:
        description: |
            webtrees はオンライン共同作業型の家系図アプリケーションです。家系図の作成・共有、系譜記録の管理、親族との共同作業が可能。SQLite で簡単にデプロイ。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: webtrees にアクセスするためのドメイン
        readme: |
            # webtrees

            オンライン共同作業型の家系図アプリケーション。強力なウェブインターフェースで家系図を作成・共有。

            ## 初回セットアップ

            デプロイ後にドメインを開くと、セットアップウィザードが初期設定を案内します（SQLite モード、管理者アカウントは未設定）。

            ウィザードで必要なこと：
            - **データベースタイプ**：SQLite に設定済み
            - **管理者アカウントの作成** — ユーザー名、パスワード、メールを設定

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

            1. **家系図を構築** — 個人、家族、ソース、メディアを追加
            2. **共同作業** — 家族を招待して閲覧・貢献
            3. **GEDCOM をインポート** — 既存の家系図データをアップロード
            4. **レポート生成** — チャート、タイムライン、統計など
            5. **モジュールをインストール** — 機能を拡張

            ## ライセンス

            GPL-3.0 — [GitHub](https://github.com/fisharebest/webtrees)
    ko-KR:
        description: |
            webtrees는 온라인 협업 가계도 애플리케이션입니다. 가계도 생성 및 공유, 계보 기록 관리, 친척과의 협업을 지원합니다. SQLite로 간단하게 배포 가능.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: webtrees에 접속할 도메인
        readme: |
            # webtrees

            온라인 협업 가계도 애플리케이션. 강력한 웹 인터페이스로 가계도를 만들고 공유하세요.

            ## 첫 설정

            배포 후 도메인을 열면 설정 마법사가 초기 구성을 안내합니다 (SQLite 모드, 관리자 계정 미설정).

            마법사에서 필요한 것:
            - **데이터베이스 유형**: SQLite로 설정됨
            - **관리자 계정 생성** — 사용자명, 비밀번호, 이메일 설정

            ## 배포 후 할 수 있는 것

            1. **가계도 구축** — 개인, 가족, 출처, 미디어 추가
            2. **협업** — 가족을 초대하여 열람 및 기여
            3. **GEDCOM 가져오기** — 기존 가계도 데이터 업로드
            4. **보고서 생성** — 차트, 타임라인, 통계 등
            5. **모듈 설치** — 기능 확장

            ## 라이선스

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

            แอปพลิเคชันลำดับวงศ์ตระกูลออนไลน์แบบร่วมมือชั้นนำ สร้างและแชร์แผนผังครอบครัวของคุณ

            ## การตั้งค่าครั้งแรก

            หลังจากติดตั้ง เปิดโดเมนของคุณ ตัวช่วยการตั้งค่าจะแนะนำการกำหนดค่าเริ่มต้น (โหมด SQLite ไม่มีข้อมูลผู้ดูแลระบบที่ตั้งไว้ล่วงหน้า)

            ระหว่างตัวช่วย:
            - **ประเภทฐานข้อมูล**: กำหนดค่าเป็น SQLite แล้ว
            - **สร้างบัญชีผู้ดูแลระบบ** — ตั้งชื่อผู้ใช้ รหัสผ่าน และอีเมล

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

            1. **สร้างแผนผังครอบครัว** — เพิ่มบุคคล ครอบครัว แหล่งที่มา และสื่อ
            2. **ร่วมมือ** — เชิญสมาชิกในครอบครัวมาดูและมีส่วนร่วม
            3. **นำเข้า GEDCOM** — อัปโหลดข้อมูลลำดับวงศ์ตระกูลที่มี
            4. **สร้างรายงาน** — แผนภูมิ ไทม์ไลน์ สถิติ
            5. **ติดตั้งโมดูล** — ขยายฟังก์ชันการทำงาน

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

            GPL-3.0 — [GitHub](https://github.com/fisharebest/webtrees)
    zh-CN:
        description: |
            webtrees 是领先的在线协作家谱应用。创建和分享家族树、管理家谱记录、与亲属协作。使用 SQLite 进行简单的单容器部署。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 webtrees 的域名
        readme: |
            # webtrees

            领先的在线协作家谱应用。通过功能强大的网页界面创建和分享您的家族树。

            ## 首次设置

            部署后打开域名，设置向导会引导您完成初始配置（使用 SQLite 模式，无预设管理员账密）。

            向导中需要：
            - **数据库类型**：已配置为 SQLite
            - **创建管理员账号** — 设置账号、密码和邮箱

            ## 部署后可以做什么

            1. **构建家族树** — 添加个人、家庭、来源和媒体
            2. **协作** — 邀请家人查看和贡献
            3. **导入 GEDCOM** — 上传现有家谱数据
            4. **生成报表** — 图表、时间线、统计等
            5. **安装模块** — 扩展功能

            ## 授权

            GPL-3.0 — [GitHub](https://github.com/fisharebest/webtrees)
    zh-TW:
        description: |
            webtrees 是領先的線上協作家譜應用程式。建立和分享家族樹、管理家譜記錄、與親屬協作。使用 SQLite 進行簡單的單容器部署。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 webtrees 的網域
        readme: |
            # webtrees

            領先的線上協作家譜應用程式。透過功能強大的網頁介面建立和分享您的家族樹。

            ## 首次設定

            部署後開啟網域，設定精靈會引導您完成初始設定（使用 SQLite 模式，無預設管理員帳密）。

            精靈中需要：
            - **資料庫類型**：已設定為 SQLite
            - **建立管理員帳號** — 設定帳號、密碼和電子郵件

            ## 部署後可以做什麼

            1. **建立家族樹** — 新增個人、家庭、來源和媒體
            2. **協作** — 邀請家人查看和貢獻
            3. **匯入 GEDCOM** — 上傳現有家譜資料
            4. **產生報表** — 圖表、時間線、統計等
            5. **安裝模組** — 擴充功能

            ## 授權

            GPL-3.0 — [GitHub](https://github.com/fisharebest/webtrees)
