# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Docmost
spec:
    description: |
        Docmost is a self-hosted collaborative wiki and documentation platform — an open-source alternative to Notion and Confluence. Features real-time collaboration, nested pages, permissions, and a clean editor with support for diagrams, math, and callouts.
    coverImage: https://avatars.githubusercontent.com/u/150462874?v=4
    icon: https://avatars.githubusercontent.com/u/150462874?v=4
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Docmost
    tags:
        - Tool
        - Document
    readme: |
        # Docmost

        A self-hosted collaborative wiki and documentation platform. An open-source alternative to Notion and Confluence with real-time collaboration, nested pages, and a clean editor.

        ## What You Can Do After Deployment

        Visit your domain to create an admin account on first launch. No default credentials needed — the setup wizard guides you through initial configuration.

        **Collaborative editing:** Real-time collaborative editor with support for rich text, tables, code blocks, callouts, diagrams (draw.io and Mermaid), and LaTeX math equations.

        **Page organization:** Create nested page hierarchies with unlimited depth. Organize content into workspaces and spaces for different teams or projects.

        **Permissions:** Role-based access control with workspace-level and space-level permissions. Support for admins, editors, and viewers.

        **Search:** Full-text search across all pages and workspaces. Find any content instantly.

        **Comments:** Add inline comments and discussions to any page for team collaboration and review.

        **File attachments:** Upload and embed images, files, and media directly in pages.

        ## Configuration

        - **App secret:** `APP_SECRET` is auto-generated for session encryption
        - **App URL:** Set automatically from your Zeabur domain

        ## License

        AGPL-3.0 — [GitHub](https://github.com/docmost/docmost)
    services:
        - name: docmost
          icon: https://avatars.githubusercontent.com/u/150462874?v=4
          template: PREBUILT_V2
          spec:
            source:
                image: docmost/docmost:0.70
            ports:
                - id: web
                  port: 3000
                  type: HTTP
            volumes:
                - id: storage
                  dir: /app/data/storage
            env:
                APP_SECRET:
                    default: ${PASSWORD}
                APP_URL:
                    default: https://${ZEABUR_WEB_URL}
                DATABASE_URL:
                    default: sqlite:///app/data/storage/docmost.db
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Docmost es una plataforma de wiki y documentación colaborativa autoalojada — alternativa de código abierto a Notion y Confluence. Incluye colaboración en tiempo real, páginas anidadas, permisos y un editor limpio con soporte para diagramas, matemáticas y callouts.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Docmost
        readme: |
            # Docmost

            Plataforma de wiki y documentación colaborativa autoalojada. Alternativa de código abierto a Notion y Confluence.

            ## Qué puedes hacer después del despliegue

            Visita tu dominio para crear una cuenta de administrador en el primer inicio. El asistente de configuración te guía.

            **Edición colaborativa:** Editor en tiempo real con texto enriquecido, tablas, bloques de código, diagramas (draw.io, Mermaid) y ecuaciones LaTeX.

            **Organización de páginas:** Jerarquías de páginas anidadas sin límite de profundidad. Organiza contenido en espacios de trabajo.

            **Permisos:** Control de acceso basado en roles a nivel de espacio de trabajo y espacio.

            **Búsqueda:** Búsqueda de texto completo en todas las páginas y espacios de trabajo.

            ## Licencia

            AGPL-3.0 — [GitHub](https://github.com/docmost/docmost)
    id-ID:
        description: |
            Docmost adalah platform wiki dan dokumentasi kolaboratif self-hosted — alternatif open-source untuk Notion dan Confluence. Dilengkapi kolaborasi real-time, halaman bersarang, izin akses, dan editor yang mendukung diagram, matematika, dan callout.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Docmost
        readme: |
            # Docmost

            Platform wiki dan dokumentasi kolaboratif self-hosted. Alternatif open-source untuk Notion dan Confluence.

            ## Apa yang bisa dilakukan setelah deploy

            Buka domain Anda untuk membuat akun admin pada peluncuran pertama. Wizard setup akan memandu konfigurasi awal.

            **Editing kolaboratif:** Editor real-time dengan rich text, tabel, blok kode, diagram (draw.io, Mermaid), dan persamaan LaTeX.

            **Organisasi halaman:** Hierarki halaman bersarang tanpa batas kedalaman. Atur konten ke dalam workspace dan space.

            **Izin akses:** Kontrol akses berbasis peran di tingkat workspace dan space.

            **Pencarian:** Pencarian teks lengkap di semua halaman dan workspace.

            ## Lisensi

            AGPL-3.0 — [GitHub](https://github.com/docmost/docmost)
    ja-JP:
        description: |
            DocmostはセルフホストのコラボレーションWiki・ドキュメントプラットフォームです。NotionやConfluenceのオープンソース代替として、リアルタイム共同編集、ネストページ、権限管理、図表・数式対応のクリーンなエディタを提供します。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Docmostにアクセスするためのドメイン
        readme: |
            # Docmost

            セルフホストのコラボレーションWiki・ドキュメントプラットフォーム。NotionとConfluenceのオープンソース代替。

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

            ドメインにアクセスし、初回起動時に管理者アカウントを作成します。セットアップウィザードが初期設定を案内します。

            **共同編集：** リアルタイムコラボレーションエディタ。リッチテキスト、テーブル、コードブロック、図表（draw.io、Mermaid）、LaTeX数式に対応。

            **ページ構成：** 無制限のネストページ階層。ワークスペースとスペースでコンテンツを整理。

            **権限管理：** ロールベースのアクセス制御。ワークスペースとスペースレベルの権限。

            **検索：** すべてのページとワークスペースを横断した全文検索。

            ## ライセンス

            AGPL-3.0 — [GitHub](https://github.com/docmost/docmost)
    ko-KR:
        description: |
            Docmost는 셀프호스팅 협업 위키 및 문서 플랫폼으로, Notion과 Confluence의 오픈소스 대안입니다. 실시간 협업, 중첩 페이지, 권한 관리, 다이어그램/수식 지원 에디터를 제공합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Docmost에 접속할 도메인
        readme: |
            # Docmost

            셀프호스팅 협업 위키 및 문서 플랫폼. Notion과 Confluence의 오픈소스 대안.

            ## 배포 후 할 수 있는 것

            도메인에 접속하여 첫 실행 시 관리자 계정을 생성합니다. 설정 마법사가 초기 구성을 안내합니다.

            **협업 편집:** 실시간 협업 에디터. 리치 텍스트, 테이블, 코드 블록, 다이어그램(draw.io, Mermaid), LaTeX 수식 지원.

            **페이지 구성:** 무제한 깊이의 중첩 페이지 계층. 워크스페이스와 스페이스로 콘텐츠 정리.

            **권한 관리:** 역할 기반 접근 제어. 워크스페이스 및 스페이스 수준 권한.

            **검색:** 모든 페이지와 워크스페이스를 아우르는 전문 검색.

            ## 라이선스

            AGPL-3.0 — [GitHub](https://github.com/docmost/docmost)
    th-TH:
        description: |
            Docmost คือแพลตฟอร์มวิกิและเอกสารร่วมมือแบบ self-hosted — ทางเลือกโอเพนซอร์สแทน Notion และ Confluence รองรับการทำงานร่วมกันแบบเรียลไทม์ หน้าซ้อน การจัดการสิทธิ์ และเอดิเตอร์ที่รองรับไดอะแกรม สูตรคณิต และ callout
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Docmost
        readme: |
            # Docmost

            แพลตฟอร์มวิกิและเอกสารร่วมมือแบบ self-hosted ทางเลือกโอเพนซอร์สแทน Notion และ Confluence

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

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

            **แก้ไขร่วมกัน:** เอดิเตอร์แบบเรียลไทม์ รองรับ Rich Text ตาราง บล็อกโค้ด ไดอะแกรม (draw.io, Mermaid) และสมการ LaTeX

            **จัดระเบียบหน้า:** สร้างลำดับชั้นหน้าซ้อนได้ไม่จำกัดความลึก จัดเนื้อหาเป็น workspace และ space

            **การจัดการสิทธิ์:** ควบคุมการเข้าถึงตามบทบาทในระดับ workspace และ space

            **ค้นหา:** ค้นหาข้อความเต็มรูปแบบข้ามทุกหน้าและ workspace

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

            AGPL-3.0 — [GitHub](https://github.com/docmost/docmost)
    zh-CN:
        description: |
            Docmost 是自托管的协作维基与文档平台——Notion 和 Confluence 的开源替代方案。支持实时协作、嵌套页面、权限管理，以及支持图表、数学公式和提示框的简洁编辑器。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Docmost 的域名
        readme: |
            # Docmost

            自托管的协作维基与文档平台。Notion 和 Confluence 的开源替代方案。

            ## 部署后可以做什么

            打开域名，首次启动时创建管理员账号。设置向导会引导完成初始配置。

            **协作编辑：** 实时协作编辑器，支持富文本、表格、代码块、提示框、图表和 LaTeX 数学公式。

            **页面组织：** 创建无限深度的嵌套页面层级。将内容整理到工作区和空间中。

            **权限管理：** 基于角色的访问控制，支持工作区和空间级别权限。

            **搜索：** 跨所有页面和工作区的全文搜索。

            ## 授权

            AGPL-3.0 — [GitHub](https://github.com/docmost/docmost)
    zh-TW:
        description: |
            Docmost 是自架的協作維基與文件平台——Notion 和 Confluence 的開源替代方案。支援即時協作、巢狀頁面、權限管理，以及支援圖表、數學公式和提示框的簡潔編輯器。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Docmost 的網域
        readme: |
            # Docmost

            自架的協作維基與文件平台。Notion 和 Confluence 的開源替代方案，支援即時協作、巢狀頁面和簡潔編輯器。

            ## 部署後可以做什麼

            開啟網域，首次啟動時建立管理員帳號。設定精靈會引導您完成初始設定。

            **協作編輯：** 即時協作編輯器，支援富文字、表格、程式碼區塊、提示框、圖表（draw.io 和 Mermaid）和 LaTeX 數學公式。

            **頁面組織：** 建立無限深度的巢狀頁面層級。將內容整理到不同的工作區和空間中。

            **權限管理：** 基於角色的存取控制，支援工作區和空間層級的權限。

            **搜尋：** 跨所有頁面和工作區的全文搜尋。

            **留言：** 在任何頁面上新增行內留言和討論。

            ## 授權

            AGPL-3.0 — [GitHub](https://github.com/docmost/docmost)
