# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Apache Answer
spec:
    description: |
        Apache Answer is an open-source Q&A platform for teams at any scale. Built with Go and React, it supports SQLite out of the box for zero-config deployment. Use it as a community forum, help center, or knowledge management platform with voting, tagging, and a plugin system.
    coverImage: https://raw.githubusercontent.com/apache/answer/main/docs/img/screenshot.png
    icon: https://raw.githubusercontent.com/apache/answer/main/docs/img/logo.svg
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Apache Answer
    tags:
        - Forum
        - Knowledge Management
    readme: |
        # Apache Answer

        An open-source Q&A platform for building community forums, help centers, and knowledge bases. Built with Go and React, powered by SQLite for zero-config deployment.

        ## Features

        - **Q&A Platform** — Stack Overflow-style questions and answers with voting
        - **Tagging System** — Organize content with tags and categories
        - **User Reputation** — Gamified reputation system to encourage quality contributions
        - **Plugin System** — Extend functionality with community plugins
        - **Search** — Full-text search across all questions and answers
        - **Multi-Language** — Built-in internationalization support
        - **Admin Dashboard** — Manage users, content, and site settings

        ## First-Time Setup

        On first launch, Apache Answer runs a setup wizard at your domain. You will:

        1. Choose a language
        2. Configure the database (SQLite is pre-configured)
        3. Create your admin account
        4. Set your site name and URL

        ## Persistent Data

        All data is stored in `/data` and persisted via a Zeabur volume. Your questions, answers, user accounts, and settings survive restarts.

        ## License

        Apache-2.0 — [GitHub](https://github.com/apache/answer) | [Docs](https://answer.apache.org/)
    services:
        - name: apache-answer
          icon: https://raw.githubusercontent.com/apache/answer/main/docs/img/logo.svg
          template: PREBUILT_V2
          spec:
            source:
                image: apache/answer:2.0.0
            ports:
                - id: web
                  port: 80
                  type: HTTP
            volumes:
                - id: data
                  dir: /data
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Apache Answer es una plataforma de preguntas y respuestas de codigo abierto para equipos de cualquier escala. Construida con Go y React, soporta SQLite para despliegue sin configuracion. Usala como foro comunitario, centro de ayuda o plataforma de gestion del conocimiento.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Apache Answer
        readme: |
            # Apache Answer

            Plataforma de preguntas y respuestas de codigo abierto para construir foros comunitarios y bases de conocimiento.

            ## Configuracion inicial

            Al iniciar por primera vez, un asistente de configuracion le guiara para elegir idioma, configurar la base de datos y crear la cuenta de administrador.

            ## Licencia

            Apache-2.0 — [GitHub](https://github.com/apache/answer)
    id-ID:
        description: |
            Apache Answer adalah platform tanya jawab open-source untuk tim dari berbagai skala. Dibangun dengan Go dan React, mendukung SQLite untuk deployment tanpa konfigurasi. Gunakan sebagai forum komunitas, pusat bantuan, atau platform manajemen pengetahuan.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Apache Answer
        readme: |
            # Apache Answer

            Platform tanya jawab open-source untuk membangun forum komunitas dan basis pengetahuan.

            ## Pengaturan Awal

            Pada peluncuran pertama, wizard pengaturan akan memandu Anda memilih bahasa, mengkonfigurasi database, dan membuat akun admin.

            ## Lisensi

            Apache-2.0 — [GitHub](https://github.com/apache/answer)
    ja-JP:
        description: |
            Apache Answer はあらゆる規模のチーム向けのオープンソース Q&A プラットフォームです。Go と React で構築され、SQLite をサポートしゼロ設定でデプロイできます。コミュニティフォーラム、ヘルプセンター、ナレッジ管理プラットフォームとして使用できます。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Apache Answer にアクセスするためのドメイン
        readme: |
            # Apache Answer

            コミュニティフォーラム、ヘルプセンター、ナレッジベースを構築するためのオープンソース Q&A プラットフォーム。

            ## 初回セットアップ

            初回起動時、セットアップウィザードが表示されます。言語選択、データベース設定、管理者アカウント作成を行います。

            ## ライセンス

            Apache-2.0 — [GitHub](https://github.com/apache/answer)
    ko-KR:
        description: |
            Apache Answer는 모든 규모의 팀을 위한 오픈 소스 Q&A 플랫폼입니다. Go와 React로 구축되었으며 SQLite를 기본 지원하여 제로 설정 배포가 가능합니다. 커뮤니티 포럼, 도움말 센터 또는 지식 관리 플랫폼으로 사용할 수 있습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Apache Answer에 접속할 도메인
        readme: |
            # Apache Answer

            커뮤니티 포럼, 도움말 센터 및 지식 베이스를 구축하기 위한 오픈 소스 Q&A 플랫폼.

            ## 초기 설정

            첫 실행 시 설정 마법사가 표시됩니다. 언어 선택, 데이터베이스 설정, 관리자 계정 생성을 진행합니다.

            ## 라이선스

            Apache-2.0 — [GitHub](https://github.com/apache/answer)
    th-TH:
        description: |
            Apache Answer เป็นแพลตฟอร์มถาม-ตอบโอเพนซอร์สสำหรับทีมทุกขนาด สร้างด้วย Go และ React รองรับ SQLite สำหรับการ deploy แบบไม่ต้องตั้งค่า ใช้เป็นฟอรัมชุมชน ศูนย์ช่วยเหลือ หรือแพลตฟอร์มจัดการความรู้
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Apache Answer
        readme: |
            # Apache Answer

            แพลตฟอร์มถาม-ตอบโอเพนซอร์สสำหรับสร้างฟอรัมชุมชนและฐานความรู้

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

            เมื่อเปิดใช้งานครั้งแรก วิซาร์ดการตั้งค่าจะแนะนำคุณเลือกภาษา กำหนดค่าฐานข้อมูล และสร้างบัญชีผู้ดูแลระบบ

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

            Apache-2.0 — [GitHub](https://github.com/apache/answer)
    zh-CN:
        description: |
            Apache Answer 是一个开源的问答平台，适用于任何规模的团队。使用 Go 和 React 构建，内置 SQLite 支持零配置部署。可用作社区论坛、帮助中心或知识管理平台。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Apache Answer 的域名
        readme: |
            # Apache Answer

            开源问答平台，用于构建社区论坛、帮助中心和知识库。

            ## 首次设置

            首次启动时，Apache Answer 会在您的域名上运行设置向导，引导您：

            1. 选择语言
            2. 配置数据库（SQLite 已预先配置）
            3. 创建管理员账号
            4. 设置网站名称和网址

            ## 授权

            Apache-2.0 — [GitHub](https://github.com/apache/answer)
    zh-TW:
        description: |
            Apache Answer 是一個開源的問答平台，適用於任何規模的團隊。使用 Go 和 React 建構，內建 SQLite 支援零配置部署。可用作社群論壇、幫助中心或知識管理平台，具備投票、標籤和外掛系統。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Apache Answer 的網域
        readme: |
            # Apache Answer

            開源問答平台，用於建立社群論壇、幫助中心和知識庫。

            ## 首次設定

            首次啟動時，Apache Answer 會在您的網域上執行設定精靈，引導您：

            1. 選擇語言
            2. 設定資料庫（SQLite 已預先配置）
            3. 建立管理員帳號
            4. 設定網站名稱和網址

            ## 部署後可以做什麼

            1. 完成設定精靈
            2. 發布第一個問題
            3. 在管理後台設定網站外觀和功能
            4. 邀請團隊成員加入

            ## 授權

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