# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Atomic Server
spec:
    description: |
        Atomic Server is a lightweight, open-source headless CMS and real-time database built in Rust. Features a powerful table editor, full-text search, document collaboration, and SDKs for JS, React, and Svelte. No runtime dependencies, sub-millisecond response times.
    coverImage: https://raw.githubusercontent.com/atomicdata-dev/atomic-server/master/server/app_assets/atomic_data_logo_stroke.svg
    icon: https://avatars.githubusercontent.com/u/78842692
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Atomic Server
    tags:
        - CMS
        - Database
    readme: |
        # Atomic Server

        A lightweight, open-source headless CMS and real-time database built in Rust. Delivers sub-millisecond response times with zero runtime dependencies.

        ## Getting Started

        1. **Visit your domain** — the Atomic Data browser interface loads immediately
        2. **Create resources** — use the built-in table editor to structure your data
        3. **Full-text search** — find any content instantly with the built-in search engine
        4. **Collaborate** — invite others to edit documents in real-time

        ## Default Configuration

        - The server initializes with a default admin agent on first startup
        - Data is persisted in the `/atomic-storage` volume
        - HTTPS is handled by Zeabur's edge proxy

        ## Key Features

        - Headless CMS with powerful table editor
        - Real-time document collaboration
        - Full-text search powered by Tantivy
        - JSON-AD / JSON-LD / Turtle / N-Triples support
        - SDKs for JavaScript, React, and Svelte
        - Authorization with granular access control
        - Version history for all resources

        ## License

        MIT — [GitHub](https://github.com/atomicdata-dev/atomic-server)
    services:
        - name: atomic-server
          icon: https://avatars.githubusercontent.com/u/78842692
          template: PREBUILT_V2
          spec:
            source:
                image: joepmeneer/atomic-server:v0.38.0
            ports:
                - id: web
                  port: 80
                  type: HTTP
            volumes:
                - id: atomic-storage
                  dir: /atomic-storage
            env:
                ATOMIC_DOMAIN:
                    default: ${ZEABUR_WEB_URL}
                    expose: true
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Atomic Server es un CMS headless y base de datos en tiempo real, ligero y de codigo abierto, construido en Rust. Editor de tablas, busqueda de texto completo, colaboracion en documentos y SDKs para JS, React y Svelte.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Atomic Server
        readme: |
            # Atomic Server

            CMS headless y base de datos en tiempo real, ligero y de codigo abierto construido en Rust.

            ## Primeros pasos

            1. **Visita tu dominio** — la interfaz Atomic Data carga inmediatamente
            2. **Crea recursos** — usa el editor de tablas para estructurar datos
            3. **Busqueda** — busca cualquier contenido al instante
            4. **Colabora** — invita a otros a editar documentos en tiempo real

            ## Configuracion por defecto

            - Se crea un administrador por defecto en el primer inicio
            - Los datos se almacenan en el volumen `/atomic-storage`

            ## Licencia

            MIT — [GitHub](https://github.com/atomicdata-dev/atomic-server)
    id-ID:
        description: |
            Atomic Server adalah CMS headless dan database real-time yang ringan dan open-source, dibangun dengan Rust. Dilengkapi editor tabel, pencarian teks lengkap, kolaborasi dokumen, dan SDK untuk JS, React, Svelte.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Atomic Server
        readme: |
            # Atomic Server

            CMS headless dan database real-time yang ringan, dibangun dengan Rust. Tanpa dependensi runtime, respons sub-milidetik.

            ## Memulai

            1. **Buka domain** — antarmuka Atomic Data langsung dimuat
            2. **Buat resource** — gunakan editor tabel bawaan untuk mengatur data
            3. **Pencarian** — temukan konten apa saja secara instan
            4. **Kolaborasi** — undang pengguna lain untuk mengedit secara real-time

            ## Pengaturan default

            - Admin default dibuat saat pertama kali dijalankan
            - Data disimpan di volume `/atomic-storage`

            ## Lisensi

            MIT — [GitHub](https://github.com/atomicdata-dev/atomic-server)
    ja-JP:
        description: |
            Atomic Server は Rust で構築された軽量なオープンソースのヘッドレス CMS とリアルタイムデータベースです。テーブルエディタ、全文検索、ドキュメントコラボレーション、JS/React/Svelte SDK を搭載。ランタイム依存ゼロ、サブミリ秒応答。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Atomic Server にアクセスするためのドメイン
        readme: |
            # Atomic Server

            Rust で構築された軽量なヘッドレス CMS とリアルタイムデータベース。サブミリ秒応答、ランタイム依存ゼロ。

            ## はじめに

            1. **ドメインにアクセス** — Atomic Data ブラウザが即座に表示
            2. **リソースを作成** — 内蔵テーブルエディタでデータを構造化
            3. **全文検索** — すべてのコンテンツを即座に検索
            4. **コラボレーション** — 他のユーザーをリアルタイム編集に招待

            ## デフォルト設定

            - 初回起動時にデフォルト管理者が作成されます
            - データは `/atomic-storage` ボリュームに保存

            ## ライセンス

            MIT — [GitHub](https://github.com/atomicdata-dev/atomic-server)
    ko-KR:
        description: |
            Atomic Server는 Rust로 구축된 경량 오픈소스 헤드리스 CMS 및 실시간 데이터베이스입니다. 테이블 에디터, 전문 검색, 문서 공동 작업, JS/React/Svelte SDK를 제공합니다. 런타임 의존성 없음, 서브밀리초 응답.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Atomic Server에 접속할 도메인
        readme: |
            # Atomic Server

            Rust로 구축된 경량 헤드리스 CMS 및 실시간 데이터베이스. 서브밀리초 응답, 런타임 의존성 없음.

            ## 시작하기

            1. **도메인 접속** — Atomic Data 브라우저가 즉시 로드
            2. **리소스 생성** — 내장 테이블 에디터로 데이터 구조화
            3. **전문 검색** — 모든 콘텐츠를 즉시 검색
            4. **협업** — 다른 사용자를 실시간 편집에 초대

            ## 기본 설정

            - 첫 실행 시 기본 관리자가 생성됩니다
            - 데이터는 `/atomic-storage` 볼륨에 저장

            ## 라이선스

            MIT — [GitHub](https://github.com/atomicdata-dev/atomic-server)
    th-TH:
        description: |
            Atomic Server เป็น Headless CMS และฐานข้อมูลเรียลไทม์แบบโอเพ่นซอร์สที่เบา สร้างด้วย Rust มีตัวแก้ไขตาราง ค้นหาข้อความเต็ม การทำงานร่วมกันในเอกสาร และ SDK สำหรับ JS, React, Svelte
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Atomic Server
        readme: |
            # Atomic Server

            Headless CMS และฐานข้อมูลเรียลไทม์แบบโอเพ่นซอร์สที่เบา สร้างด้วย Rust ตอบสนองระดับซับมิลลิวินาที

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

            1. **เข้าสู่โดเมน** — อินเทอร์เฟซ Atomic Data โหลดทันที
            2. **สร้างรีซอร์ส** — ใช้ตัวแก้ไขตารางในตัวเพื่อจัดโครงสร้างข้อมูล
            3. **ค้นหา** — ค้นหาเนื้อหาใดก็ได้ทันที
            4. **ร่วมงาน** — เชิญผู้อื่นแก้ไขเอกสารแบบเรียลไทม์

            ## การตั้งค่าเริ่มต้น

            - แอดมินเริ่มต้นจะถูกสร้างเมื่อเริ่มใช้งานครั้งแรก
            - ข้อมูลจัดเก็บในวอลุ่ม `/atomic-storage`

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

            MIT — [GitHub](https://github.com/atomicdata-dev/atomic-server)
    zh-CN:
        description: |
            Atomic Server 是用 Rust 构建的轻量级开源无头 CMS 和实时数据库。具备强大的表格编辑器、全文搜索、文档协作功能，并提供 JS、React、Svelte SDK。零运行时依赖，亚毫秒响应时间。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Atomic Server 的域名
        readme: |
            # Atomic Server

            用 Rust 构建的轻量级开源无头 CMS 和实时数据库，亚毫秒响应时间，零运行时依赖。

            ## 开始使用

            1. **打开域名** — Atomic Data 浏览器界面立即加载
            2. **创建资源** — 使用内置表格编辑器来组织数据
            3. **全文搜索** — 即时搜索所有内容
            4. **协作** — 邀请他人实时编辑文档

            ## 默认设置

            - 首次启动时会创建默认管理员
            - 数据存储在 `/atomic-storage` 卷中

            ## 授权

            MIT — [GitHub](https://github.com/atomicdata-dev/atomic-server)
    zh-TW:
        description: |
            Atomic Server 是以 Rust 打造的輕量級開源無頭 CMS 與即時資料庫。具備強大的表格編輯器、全文搜尋、文件協作功能，並提供 JS、React、Svelte SDK。零執行時期依賴，亞毫秒回應時間。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Atomic Server 的網域
        readme: |
            # Atomic Server

            以 Rust 打造的輕量級開源無頭 CMS 與即時資料庫，亞毫秒回應時間，零執行時期依賴。

            ## 開始使用

            1. **開啟網域** — Atomic Data 瀏覽器介面立即載入
            2. **建立資源** — 使用內建表格編輯器來組織資料
            3. **全文搜尋** — 即時搜尋所有內容
            4. **協作** — 邀請其他人即時編輯文件

            ## 預設設定

            - 首次啟動時會建立預設管理員
            - 資料儲存在 `/atomic-storage` 磁碟區

            ## 授權

            MIT — [GitHub](https://github.com/atomicdata-dev/atomic-server)
