# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Openfire
spec:
    description: |
        Openfire is a real-time collaboration (RTC) server using the XMPP protocol. It features a web-based admin console, built-in embedded HSQLDB database, plugin system, and supports multi-user chat, file transfer, and federation.
    coverImage: https://raw.githubusercontent.com/igniterealtime/Openfire/main/xmppserver/src/main/webapp/images/login_logo.gif
    icon: https://raw.githubusercontent.com/igniterealtime/Openfire/main/xmppserver/src/main/webapp/images/login_logo.gif
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access the Openfire admin console
    tags:
        - Communication
    readme: |
        # Openfire

        A real-time collaboration (RTC) server licensed under the Apache License. Openfire uses XMPP (Jabber) to provide instant messaging, group chat, and presence information. It includes an embedded HSQLDB database so no external database setup is required.

        ## Getting Started

        1. **Open the admin console** at your domain on port 9090 (HTTP) or 9091 (HTTPS)
        2. **Run the setup wizard** to configure your server domain, admin account, and basic settings
        3. **Choose "Embedded Database"** during setup to use the built-in HSQLDB (recommended for simplicity)
        4. **Create user accounts** from the admin console under Users/Groups
        5. **Connect XMPP clients** such as Spark, Gajim, or Conversations to your server on port 5222

        ## Key Features

        - Web-based administration console for server management
        - Built-in embedded HSQLDB database (zero external dependencies)
        - Plugin architecture with a rich ecosystem of extensions
        - Multi-user chat (MUC) rooms for group conversations
        - Server-to-server federation for cross-domain messaging
        - LDAP and Active Directory integration for enterprise environments
        - File transfer and media proxy support
        - TLS/SSL encryption for secure communications

        ## Exposed Ports

        - **9090** (HTTP) / **9091** (HTTPS): Admin console
        - **5222**: XMPP client connections
        - **5269**: Server-to-server connections
        - **7070** (HTTP) / **7443** (HTTPS): HTTP binding (BOSH/WebSocket)

        ## License

        Apache-2.0 — [GitHub](https://github.com/igniterealtime/Openfire)
    services:
        - name: openfire
          icon: https://raw.githubusercontent.com/igniterealtime/Openfire/main/xmppserver/src/main/webapp/images/login_logo.gif
          template: PREBUILT_V2
          spec:
            source:
                image: ghcr.io/igniterealtime/openfire:v5.0.4
            ports:
                - id: web
                  port: 9090
                  type: HTTP
                - id: xmpp
                  port: 5222
                  type: TCP
                - id: s2s
                  port: 5269
                  type: TCP
                - id: bosh
                  port: 7070
                  type: TCP
            volumes:
                - id: data
                  dir: /var/lib/openfire
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
            portForwarding:
                enabled: true
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Openfire es un servidor de colaboracion en tiempo real que utiliza el protocolo XMPP. Incluye consola web de administracion, base de datos HSQLDB integrada, sistema de plugins, chat multiusuario, transferencia de archivos y federacion.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a la consola de administracion de Openfire
        readme: |
            # Openfire

            Servidor de colaboracion en tiempo real con licencia Apache. Openfire usa XMPP (Jabber) para proporcionar mensajeria instantanea, chat grupal e informacion de presencia. Incluye base de datos HSQLDB integrada sin necesidad de configuracion externa.

            ## Primeros pasos

            1. **Abrir la consola de administracion** — acceder por el puerto 9090
            2. **Ejecutar el asistente de configuracion** — configurar dominio del servidor y cuenta de administrador
            3. **Seleccionar "Base de datos integrada"** — usar HSQLDB integrada (recomendado)
            4. **Crear cuentas de usuario** — en Users/Groups de la consola
            5. **Conectar clientes XMPP** — Spark, Gajim o Conversations al puerto 5222

            ## Caracteristicas

            - Consola de administracion web
            - Base de datos HSQLDB integrada (sin dependencias externas)
            - Arquitectura de plugins
            - Chat multiusuario (MUC)
            - Federacion entre servidores
            - Integracion con LDAP / Active Directory
            - Transferencia de archivos
            - Cifrado TLS/SSL

            ## Licencia

            Apache-2.0 — [GitHub](https://github.com/igniterealtime/Openfire)
    id-ID:
        description: |
            Openfire adalah server kolaborasi real-time menggunakan protokol XMPP. Dilengkapi konsol admin web, database HSQLDB bawaan, sistem plugin, chat multi-pengguna, transfer file, dan federasi.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses konsol admin Openfire
        readme: |
            # Openfire

            Server kolaborasi real-time berlisensi Apache. Openfire menggunakan XMPP (Jabber) untuk menyediakan pesan instan, chat grup, dan informasi kehadiran. Dilengkapi database HSQLDB bawaan tanpa perlu konfigurasi database eksternal.

            ## Memulai

            1. **Buka konsol admin** — akses melalui port 9090
            2. **Jalankan wizard pengaturan** — konfigurasi domain server dan akun admin
            3. **Pilih "Database Bawaan"** — gunakan HSQLDB bawaan (disarankan)
            4. **Buat akun pengguna** — di Users/Groups pada konsol admin
            5. **Hubungkan klien XMPP** — Spark, Gajim, atau Conversations ke port 5222

            ## Fitur

            - Konsol administrasi berbasis web
            - Database HSQLDB bawaan (tanpa dependensi eksternal)
            - Arsitektur plugin
            - Chat multi-pengguna (MUC)
            - Federasi antar-server
            - Integrasi LDAP / Active Directory
            - Transfer file
            - Enkripsi TLS/SSL

            ## Lisensi

            Apache-2.0 — [GitHub](https://github.com/igniterealtime/Openfire)
    ja-JP:
        description: |
            Openfire は XMPP プロトコルを使用するリアルタイムコラボレーションサーバーです。Web 管理コンソール、組み込み HSQLDB、プラグインシステム、マルチユーザーチャット、ファイル転送、フェデレーションをサポート。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Openfire 管理コンソールにアクセスするためのドメイン
        readme: |
            # Openfire

            Apache ライセンスのリアルタイムコラボレーションサーバー。XMPP (Jabber) を使用してインスタントメッセージング、グループチャット、プレゼンス情報を提供します。組み込み HSQLDB データベースにより外部データベース不要。

            ## はじめに

            1. **管理コンソールを開く** — ポート 9090 でアクセス
            2. **セットアップウィザードを実行** — サーバードメイン、管理者アカウントを設定
            3. **「組み込みデータベース」を選択** — 内蔵 HSQLDB を使用（推奨）
            4. **ユーザーアカウントを作成** — 管理コンソールの Users/Groups から
            5. **XMPP クライアントで接続** — Spark、Gajim、Conversations をポート 5222 に接続

            ## 主な機能

            - Web ベースの管理コンソール
            - 組み込み HSQLDB（外部依存なし）
            - プラグインアーキテクチャ
            - マルチユーザーチャット (MUC)
            - サーバー間フェデレーション
            - LDAP / Active Directory 連携
            - ファイル転送
            - TLS/SSL 暗号化

            ## ライセンス

            Apache-2.0 — [GitHub](https://github.com/igniterealtime/Openfire)
    ko-KR:
        description: |
            Openfire는 XMPP 프로토콜을 사용하는 실시간 협업 서버입니다. 웹 관리 콘솔, 내장 HSQLDB 데이터베이스, 플러그인 시스템, 다중 사용자 채팅, 파일 전송, 서버 연합을 지원합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Openfire 관리 콘솔에 접속할 도메인
        readme: |
            # Openfire

            Apache 라이선스의 실시간 협업 서버. XMPP (Jabber)를 사용하여 인스턴트 메시징, 그룹 채팅, 프레즌스 정보를 제공합니다. 내장 HSQLDB 데이터베이스로 외부 데이터베이스 설정 불필요.

            ## 시작하기

            1. **관리 콘솔 열기** — 포트 9090으로 접속
            2. **설정 마법사 실행** — 서버 도메인, 관리자 계정 설정
            3. **"내장 데이터베이스" 선택** — 내장 HSQLDB 사용 (권장)
            4. **사용자 계정 생성** — 관리 콘솔의 Users/Groups에서
            5. **XMPP 클라이언트 연결** — Spark, Gajim, Conversations를 포트 5222에 연결

            ## 주요 기능

            - 웹 관리 콘솔
            - 내장 HSQLDB (외부 의존성 없음)
            - 플러그인 아키텍처
            - 다중 사용자 채팅 (MUC)
            - 서버 간 연합
            - LDAP / Active Directory 통합
            - 파일 전송
            - TLS/SSL 암호화

            ## 라이선스

            Apache-2.0 — [GitHub](https://github.com/igniterealtime/Openfire)
    th-TH:
        description: |
            Openfire คือเซิร์ฟเวอร์ทำงานร่วมกันแบบเรียลไทม์ที่ใช้โปรโตคอล XMPP มีคอนโซลผู้ดูแลระบบผ่านเว็บ ฐานข้อมูล HSQLDB ในตัว ระบบปลั๊กอิน แชทหลายผู้ใช้ ถ่ายโอนไฟล์ และการเชื่อมต่อระหว่างเซิร์ฟเวอร์
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึงคอนโซลผู้ดูแลระบบ Openfire
        readme: |
            # Openfire

            เซิร์ฟเวอร์ทำงานร่วมกันแบบเรียลไทม์ภายใต้สัญญาอนุญาต Apache ใช้ XMPP (Jabber) สำหรับการส่งข้อความ แชทกลุ่ม และสถานะออนไลน์ มีฐานข้อมูล HSQLDB ในตัว ไม่ต้องตั้งค่าฐานข้อมูลภายนอก

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

            1. **เปิดคอนโซลผู้ดูแลระบบ** — เข้าถึงผ่านพอร์ต 9090
            2. **รันวิซาร์ดตั้งค่า** — กำหนดค่าโดเมนเซิร์ฟเวอร์และบัญชีผู้ดูแลระบบ
            3. **เลือก "ฐานข้อมูลในตัว"** — ใช้ HSQLDB ในตัว (แนะนำ)
            4. **สร้างบัญชีผู้ใช้** — ใน Users/Groups ของคอนโซลผู้ดูแลระบบ
            5. **เชื่อมต่อไคลเอนต์ XMPP** — Spark, Gajim หรือ Conversations ที่พอร์ต 5222

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

            - คอนโซลผู้ดูแลระบบผ่านเว็บ
            - ฐานข้อมูล HSQLDB ในตัว (ไม่มีการพึ่งพาภายนอก)
            - สถาปัตยกรรมปลั๊กอิน
            - แชทหลายผู้ใช้ (MUC)
            - การเชื่อมต่อระหว่างเซิร์ฟเวอร์
            - รองรับ LDAP / Active Directory
            - ถ่ายโอนไฟล์
            - เข้ารหัส TLS/SSL

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

            Apache-2.0 — [GitHub](https://github.com/igniterealtime/Openfire)
    zh-CN:
        description: |
            Openfire 是一款使用 XMPP 协议的实时协作服务器。内置网页管理界面、嵌入式 HSQLDB 数据库、插件系统，支持多人聊天、文件传输和服务器联邦。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Openfire 管理界面的域名
        readme: |
            # Openfire

            基于 Apache 许可的实时协作服务器。Openfire 使用 XMPP (Jabber) 协议提供即时通讯、群组聊天和在线状态功能。内置 HSQLDB 数据库，无需额外数据库配置。

            ## 开始使用

            1. **打开管理界面** — 通过 9090 端口访问
            2. **运行设置向导** — 配置服务器域名、管理员账号等基本设置
            3. **选择「嵌入式数据库」** — 使用内置 HSQLDB（推荐用于简单部署）
            4. **创建用户账号** — 在管理界面的 Users/Groups 中创建
            5. **连接 XMPP 客户端** — 使用 Spark、Gajim 或 Conversations 连接到 5222 端口

            ## 主要功能

            - 网页管理界面
            - 内置 HSQLDB 嵌入式数据库（零外部依赖）
            - 插件架构与丰富的扩展生态
            - 多人聊天室 (MUC)
            - 服务器间联邦
            - LDAP 与 Active Directory 集成
            - 文件传输和媒体代理
            - TLS/SSL 加密

            ## 许可证

            Apache-2.0 — [GitHub](https://github.com/igniterealtime/Openfire)
    zh-TW:
        description: |
            Openfire 是一款使用 XMPP 協定的即時協作伺服器。內建網頁管理介面、嵌入式 HSQLDB 資料庫、外掛系統，支援多人聊天、檔案傳輸和伺服器聯邦。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Openfire 管理介面的網域
        readme: |
            # Openfire

            基於 Apache 授權的即時協作伺服器。Openfire 使用 XMPP (Jabber) 協定提供即時通訊、群組聊天和在線狀態功能。內建 HSQLDB 資料庫，無需額外資料庫設定。

            ## 開始使用

            1. **開啟管理介面** — 透過 9090 連接埠存取
            2. **執行設定精靈** — 設定伺服器網域、管理員帳號等基本設定
            3. **選擇「嵌入式資料庫」** — 使用內建 HSQLDB（建議用於簡單部署）
            4. **建立使用者帳號** — 在管理介面的 Users/Groups 中建立
            5. **連接 XMPP 客戶端** — 使用 Spark、Gajim 或 Conversations 連接到 5222 連接埠

            ## 主要功能

            - 網頁管理介面
            - 內建 HSQLDB 嵌入式資料庫（零外部依賴）
            - 外掛架構與豐富的擴充生態
            - 多人聊天室 (MUC)
            - 伺服器間聯邦
            - LDAP 與 Active Directory 整合
            - 檔案傳輸和媒體代理
            - TLS/SSL 加密

            ## 授權

            Apache-2.0 — [GitHub](https://github.com/igniterealtime/Openfire)
