# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Galene
spec:
    description: |
        Galene is a lightweight, self-hosted video conferencing server written in Go. It requires very moderate server resources and supports group video calls with screen sharing, chat, and recording. No external database needed — all configuration is stored in local JSON files.
    coverImage: https://avatars.githubusercontent.com/u/82931891?v=4
    icon: https://avatars.githubusercontent.com/u/82931891?v=4
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Galene
    tags:
        - Communication
        - Tool
    readme: |
        # Galene

        A lightweight, self-hosted video conferencing server written in Go. Easy to deploy with very moderate server resources.

        ## Features

        - **Video Conferencing** — Group video calls with multiple participants using WebRTC
        - **Screen Sharing** — Share your screen during calls
        - **Chat** — Built-in text chat alongside video
        - **Recording** — Record video conferences
        - **Lightweight** — Minimal resource usage, the Docker image is only about 15 MB
        - **No Database** — All configuration stored in local JSON files

        ## First-Time Setup

        After deployment, access the server at your domain. Galene organizes calls into "groups". You can configure groups by modifying the configuration files.

        The default setup includes a public group that anyone can join. For authentication, create group configuration files with operator and presenter passwords.

        ## Creating Groups

        Groups are configured via JSON files in the `/var/lib/galene/groups/` directory. Example group file:

        ```json
        {
          "op": [{"password": "operatorpassword"}],
          "presenter": [{"password": "presenterpassword"}],
          "allow-recording": true
        }
        ```

        ## Persistent Data

        All configuration and recordings are stored in `/var/lib/galene` and persisted via a Zeabur volume.

        ## License

        MIT — [GitHub](https://github.com/jech/galene) | [Website](https://galene.org/)
    services:
        - name: galene
          icon: https://avatars.githubusercontent.com/u/82931891?v=4
          template: PREBUILT_V2
          spec:
            source:
                image: deburau/galene:0.7.2
            ports:
                - id: web
                  port: 8443
                  type: HTTP
            volumes:
                - id: data
                  dir: /var/lib/galene
            env:
                GALENE_TURN:
                    default: auto
            healthCheck:
                type: TCP
                port: web
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Galene es un servidor de videoconferencia ligero y autoalojado escrito en Go. Requiere recursos de servidor moderados y soporta videollamadas grupales con pantalla compartida, chat y grabacion. No necesita base de datos externa.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Galene
        readme: |
            # Galene

            Servidor de videoconferencia ligero y autoalojado construido con Go.

            ## Configuracion inicial

            Despues del despliegue, accede al servidor mediante tu dominio. Las llamadas se organizan en "grupos".

            ## Licencia

            MIT — [GitHub](https://github.com/jech/galene)
    id-ID:
        description: |
            Galene adalah server video konferensi self-hosted yang ringan ditulis dalam Go. Membutuhkan sumber daya server yang minimal dan mendukung panggilan video grup dengan berbagi layar, chat, dan perekaman. Tidak memerlukan database eksternal.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Galene
        readme: |
            # Galene

            Server video konferensi self-hosted yang ringan dibangun dengan Go.

            ## Pengaturan Awal

            Setelah deploy, akses server melalui domain Anda. Panggilan diorganisir dalam "grup".

            ## Lisensi

            MIT — [GitHub](https://github.com/jech/galene)
    ja-JP:
        description: |
            Galene は Go で書かれた軽量なセルフホスト型ビデオ会議サーバーです。必要なサーバーリソースは最小限で、グループビデオ通話、画面共有、チャット、録画をサポートします。外部データベース不要です。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Galene にアクセスするためのドメイン
        readme: |
            # Galene

            Go で構築された軽量なセルフホスト型ビデオ会議サーバー。

            ## 初回セットアップ

            デプロイ後、ドメインにアクセスしてサーバーに入ります。通話は「グループ」として管理されます。

            ## ライセンス

            MIT — [GitHub](https://github.com/jech/galene)
    ko-KR:
        description: |
            Galene는 Go로 작성된 경량 셀프 호스팅 화상 회의 서버입니다. 서버 리소스를 매우 적게 사용하며 그룹 화상 통화, 화면 공유, 채팅, 녹화를 지원합니다. 외부 데이터베이스가 필요 없습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Galene에 접속할 도메인
        readme: |
            # Galene

            Go로 구축된 경량 셀프 호스팅 화상 회의 서버.

            ## 초기 설정

            배포 후 도메인에 접속하여 서버에 들어갑니다. 통화는 "그룹"으로 관리됩니다.

            ## 라이선스

            MIT — [GitHub](https://github.com/jech/galene)
    th-TH:
        description: |
            Galene เป็นเซิร์ฟเวอร์วิดีโอคอนเฟอเรนซ์แบบ self-hosted ที่เบาเขียนด้วย Go ต้องการทรัพยากรเซิร์ฟเวอร์น้อย รองรับวิดีโอคอลกลุ่ม แชร์หน้าจอ แชท และบันทึก ไม่ต้องใช้ฐานข้อมูลภายนอก
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Galene
        readme: |
            # Galene

            เซิร์ฟเวอร์วิดีโอคอนเฟอเรนซ์แบบ self-hosted ที่เบาสร้างด้วย Go

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

            หลังจาก deploy เข้าถึงเซิร์ฟเวอร์ผ่านโดเมนของคุณ การโทรจะถูกจัดระเบียบเป็น "กลุ่ม"

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

            MIT — [GitHub](https://github.com/jech/galene)
    zh-CN:
        description: |
            Galene 是一款用 Go 编写的轻量级自托管视频会议服务器。需要的服务器资源很少，支持群组视频通话、屏幕共享、聊天和录制。无需外部数据库 — 所有配置都存储在本地 JSON 文件中。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Galene 的域名
        readme: |
            # Galene

            轻量级自托管视频会议服务器，使用 Go 构建。

            ## 首次设置

            部署后，通过您的域名访问服务器。Galene 将通话组织为"群组"。您可以通过修改配置文件来配置群组。

            ## 授权

            MIT — [GitHub](https://github.com/jech/galene)
    zh-TW:
        description: |
            Galene 是一款用 Go 編寫的輕量級自架視訊會議伺服器。需要的伺服器資源很少，支援群組視訊通話、螢幕分享、聊天和錄影。無需外部資料庫 — 所有設定都儲存在本地 JSON 檔案中。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Galene 的網域
        readme: |
            # Galene

            輕量級自架視訊會議伺服器，使用 Go 建構。

            ## 首次設定

            部署後，透過您的網域存取伺服器。Galene 將通話組織為「群組」。您可以透過修改設定檔來配置群組。

            ## 部署後可以做什麼

            1. 開啟您指定的網域，進入 Galene 視訊會議介面
            2. 加入預設的公開群組開始通話
            3. 建立自訂群組並設定密碼
            4. 邀請參與者透過網域加入視訊會議
            5. 使用螢幕分享和聊天功能

            ## 授權

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