# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Apache ActiveMQ
spec:
    description: |
        A high-performance open-source message broker by Apache that supports multiple protocols including AMQP, MQTT, STOMP, and OpenWire. Includes a built-in web console for monitoring and management.
    coverImage: https://activemq.apache.org/assets/img/activemq_logo_white_vertical.png
    icon: https://activemq.apache.org/assets/img/activemq_logo_icon.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access ActiveMQ web console
        - key: ACTIVEMQ_WEB_PASSWORD
          type: STRING
          name: Web Console Password
          description: Password for the ActiveMQ web console admin user
    tags:
        - Developer Tools
        - Tool
    readme: |
        # Apache ActiveMQ

        A high-performance open-source message broker by the Apache Software Foundation. Supports Jakarta Messaging, AMQP, MQTT, STOMP, and OpenWire protocols with a built-in web console for monitoring and management.

        ## What You Can Do After Deployment

        1. **Access the web console** at your assigned domain
        2. **Monitor queues and topics** — view message counts, consumers, and throughput
        3. **Send test messages** — use the web console to publish messages to queues or topics
        4. **Browse messages** — inspect messages waiting in queues
        5. **Manage connections** — view active connections and sessions
        6. **Configure destinations** — create and manage queues and topics
        7. **View broker statistics** — monitor memory usage, store usage, and uptime

        ## Key Features

        - Multi-protocol support (AMQP, MQTT, STOMP, OpenWire, WebSocket)
        - Built-in web console for monitoring and management
        - Persistent and non-persistent message delivery
        - Virtual destinations and composite destinations
        - Message selectors and filtering
        - Scheduled message delivery
        - REST API for integration

        ## Default Credentials

        - Username: `admin`
        - Password: Set during deployment via the Web Console Password variable

        > The broker port (61616) is available inside the container for client connections.

        ## License

        Apache-2.0 — [GitHub](https://github.com/apache/activemq)
    services:
        - name: activemq
          icon: https://activemq.apache.org/assets/img/activemq_logo_icon.png
          template: PREBUILT_V2
          spec:
            source:
                image: apache/activemq-classic:5.19.2
            ports:
                - id: web
                  port: 8161
                  type: HTTP
            volumes:
                - id: data
                  dir: /opt/apache-activemq/data
            env:
                ACTIVEMQ_CONNECTION_PASSWORD:
                    default: ${PASSWORD}
                ACTIVEMQ_CONNECTION_USER:
                    default: admin
                ACTIVEMQ_WEB_PASSWORD:
                    default: ${ACTIVEMQ_WEB_PASSWORD}
                ACTIVEMQ_WEB_USER:
                    default: admin
                TZ:
                    default: UTC
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Broker de mensajes de alto rendimiento de Apache. Soporta multiples protocolos como AMQP, MQTT, STOMP y OpenWire. Incluye consola web integrada para monitoreo y gestion.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a la consola web de ActiveMQ
            - key: ACTIVEMQ_WEB_PASSWORD
              type: STRING
              name: Contrasena de consola web
              description: Contrasena del administrador de la consola web de ActiveMQ
        readme: |
            # Apache ActiveMQ

            Broker de mensajes de alto rendimiento de Apache Software Foundation.

            ## Que puede hacer tras el despliegue

            1. **Acceder a la consola web** — usar el dominio asignado
            2. **Monitorear colas y temas** — ver conteo de mensajes y consumidores
            3. **Enviar mensajes de prueba** — publicar mensajes desde la consola web
            4. **Explorar mensajes** — inspeccionar mensajes en espera
            5. **Gestionar conexiones** — ver conexiones activas
            6. **Configurar destinos** — crear y gestionar colas y temas
            7. **Ver estadisticas** — monitorear uso de memoria y almacenamiento

            ## Credenciales por defecto

            - Usuario: `admin`
            - Contrasena: configurada durante el despliegue

            ## Licencia

            Apache-2.0 — [GitHub](https://github.com/apache/activemq)
    id-ID:
        description: |
            Message broker open-source berkinerja tinggi dari Apache. Mendukung protokol AMQP, MQTT, STOMP, dan OpenWire dengan konsol web bawaan untuk pemantauan dan manajemen.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses konsol web ActiveMQ
            - key: ACTIVEMQ_WEB_PASSWORD
              type: STRING
              name: Password Konsol Web
              description: Password admin konsol web ActiveMQ
        readme: |
            # Apache ActiveMQ

            Message broker open-source berkinerja tinggi dari Apache Software Foundation.

            ## Yang Dapat Dilakukan Setelah Deploy

            1. **Akses konsol web** — gunakan domain yang ditentukan
            2. **Pantau antrian dan topik** — lihat jumlah pesan dan konsumer
            3. **Kirim pesan uji** — publikasikan pesan dari konsol web
            4. **Jelajahi pesan** — periksa pesan yang menunggu
            5. **Kelola koneksi** — lihat koneksi aktif
            6. **Konfigurasi tujuan** — buat dan kelola antrian dan topik
            7. **Lihat statistik** — pantau penggunaan memori dan penyimpanan

            ## Kredensial Default

            - Username: `admin`
            - Password: dikonfigurasi saat deploy

            ## Lisensi

            Apache-2.0 — [GitHub](https://github.com/apache/activemq)
    ja-JP:
        description: |
            Apache による高性能オープンソースメッセージブローカー。AMQP、MQTT、STOMP、OpenWire など複数プロトコルに対応し、監視・管理用の Web コンソールを内蔵。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: ActiveMQ Web コンソールにアクセスするためのドメイン
            - key: ACTIVEMQ_WEB_PASSWORD
              type: STRING
              name: Web コンソールパスワード
              description: ActiveMQ Web コンソール管理者パスワード
        readme: |
            # Apache ActiveMQ

            Apache Software Foundation による高性能オープンソースメッセージブローカー。

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

            1. **Web コンソールにアクセス** — 割り当てられたドメインを使用
            2. **キューとトピックの監視** — メッセージ数、コンシューマー、スループットを表示
            3. **テストメッセージの送信** — Web コンソールからメッセージを発行
            4. **メッセージの閲覧** — キュー内のメッセージを検査
            5. **接続の管理** — アクティブな接続とセッションを表示
            6. **デスティネーションの設定** — キューとトピックの作成・管理
            7. **統計の表示** — メモリ、ストレージ使用量、稼働時間を監視

            ## デフォルト認証情報

            - ユーザー名：`admin`
            - パスワード：デプロイ時に設定

            ## ライセンス

            Apache-2.0 — [GitHub](https://github.com/apache/activemq)
    ko-KR:
        description: |
            Apache의 고성능 오픈소스 메시지 브로커. AMQP, MQTT, STOMP, OpenWire 등 다중 프로토콜을 지원하며 내장 웹 콘솔로 모니터링 및 관리 가능.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: ActiveMQ 웹 콘솔에 접속할 도메인
            - key: ACTIVEMQ_WEB_PASSWORD
              type: STRING
              name: 웹 콘솔 비밀번호
              description: ActiveMQ 웹 콘솔 관리자 비밀번호
        readme: |
            # Apache ActiveMQ

            Apache Software Foundation의 고성능 오픈소스 메시지 브로커.

            ## 배포 후 할 수 있는 것

            1. **웹 콘솔 접속** — 할당된 도메인 사용
            2. **큐 및 토픽 모니터링** — 메시지 수, 소비자, 처리량 확인
            3. **테스트 메시지 전송** — 웹 콘솔에서 메시지 발행
            4. **메시지 탐색** — 큐의 대기 메시지 검사
            5. **연결 관리** — 활성 연결 및 세션 확인
            6. **대상 구성** — 큐 및 토픽 생성과 관리
            7. **통계 보기** — 메모리, 스토리지 사용량, 가동 시간 모니터링

            ## 기본 인증 정보

            - 사용자 이름: `admin`
            - 비밀번호: 배포 시 설정

            ## 라이선스

            Apache-2.0 — [GitHub](https://github.com/apache/activemq)
    th-TH:
        description: |
            Message Broker โอเพนซอร์สประสิทธิภาพสูงจาก Apache รองรับหลายโปรโตคอลรวมถึง AMQP, MQTT, STOMP และ OpenWire พร้อมคอนโซลเว็บสำหรับการตรวจสอบและจัดการ
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึงคอนโซลเว็บ ActiveMQ
            - key: ACTIVEMQ_WEB_PASSWORD
              type: STRING
              name: รหัสผ่านคอนโซลเว็บ
              description: รหัสผ่านผู้ดูแลคอนโซลเว็บ ActiveMQ
        readme: |
            # Apache ActiveMQ

            Message Broker โอเพนซอร์สประสิทธิภาพสูงจาก Apache Software Foundation

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

            1. **เข้าถึงคอนโซลเว็บ** — ใช้โดเมนที่กำหนด
            2. **ตรวจสอบคิวและหัวข้อ** — ดูจำนวนข้อความและผู้บริโภค
            3. **ส่งข้อความทดสอบ** — เผยแพร่ข้อความจากคอนโซลเว็บ
            4. **สำรวจข้อความ** — ตรวจสอบข้อความที่รอ
            5. **จัดการการเชื่อมต่อ** — ดูการเชื่อมต่อที่ใช้งาน
            6. **กำหนดค่าปลายทาง** — สร้างและจัดการคิวและหัวข้อ
            7. **ดูสถิติ** — ตรวจสอบการใช้หน่วยความจำและพื้นที่จัดเก็บ

            ## ข้อมูลเข้าสู่ระบบเริ่มต้น

            - ชื่อผู้ใช้: `admin`
            - รหัสผ่าน: ตั้งค่าระหว่างการ deploy

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

            Apache-2.0 — [GitHub](https://github.com/apache/activemq)
    zh-CN:
        description: |
            Apache 出品的高性能开源消息代理，支持 AMQP、MQTT、STOMP 和 OpenWire 等多种协议。内置网页控制台用于监控和管理。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 ActiveMQ 网页控制台的域名
            - key: ACTIVEMQ_WEB_PASSWORD
              type: STRING
              name: 网页控制台密码
              description: ActiveMQ 网页控制台管理员密码
        readme: |
            # Apache ActiveMQ

            Apache 基金会出品的高性能开源消息代理。支持 Jakarta Messaging、AMQP、MQTT、STOMP 和 OpenWire 协议，内置网页控制台。

            ## 部署后可以做什么

            1. **访问网页控制台** — 使用分配的域名
            2. **监控队列和主题** — 查看消息数量、消费者和吞吐量
            3. **发送测试消息** — 使用网页控制台发布消息
            4. **浏览消息** — 查看队列中等待的消息
            5. **管理连接** — 查看活跃连接和会话
            6. **配置目的地** — 创建和管理队列与主题
            7. **查看统计** — 监控内存、存储使用量和运行时间

            ## 默认账号密码

            - 用户名：`admin`
            - 密码：部署时设置

            ## 许可证

            Apache-2.0 — [GitHub](https://github.com/apache/activemq)
    zh-TW:
        description: |
            Apache 出品的高效能開源訊息代理，支援 AMQP、MQTT、STOMP 和 OpenWire 等多種協定。內建網頁主控台用於監控和管理。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 ActiveMQ 網頁主控台的網域
            - key: ACTIVEMQ_WEB_PASSWORD
              type: STRING
              name: 網頁主控台密碼
              description: ActiveMQ 網頁主控台管理員密碼
        readme: |
            # Apache ActiveMQ

            Apache 基金會出品的高效能開源訊息代理。支援 Jakarta Messaging、AMQP、MQTT、STOMP 和 OpenWire 協定，內建網頁主控台。

            ## 部署後可以做什麼

            1. **存取網頁主控台** — 使用分配的網域
            2. **監控佇列和主題** — 查看訊息數量、消費者和吞吐量
            3. **發送測試訊息** — 使用網頁主控台發布訊息
            4. **瀏覽訊息** — 檢視佇列中等待的訊息
            5. **管理連線** — 查看活躍連線和會話
            6. **設定目的地** — 建立和管理佇列與主題
            7. **查看統計** — 監控記憶體、儲存使用量和運行時間

            ## 預設帳號密碼

            - 使用者名稱：`admin`
            - 密碼：部署時設定

            ## 授權條款

            Apache-2.0 — [GitHub](https://github.com/apache/activemq)
