# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Cockpit CMS
spec:
    description: |
        A headless content platform built with PHP. Manage collections, singletons, and trees with 20+ field types. Uses SQLite by default with no external database required.
    coverImage: https://getcockpit.com/assets/images/logo.svg
    icon: https://getcockpit.com/assets/images/logo.svg
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Cockpit CMS
    tags:
        - CMS
        - Headless
    readme: |
        # Cockpit CMS

        Cockpit is a headless content platform for managing structured content via API. It supports collections, singletons, and tree structures with 20+ field types, image processing, localization, roles and permissions. Uses SQLite by default.

        ## First-Time Setup

        1. Click the deployed URL to open Cockpit CMS.
        2. Navigate to `/install` to initialize the system.
        3. A default admin account is created automatically. Log in with username **admin** and the generated password shown on screen.
        4. Change the admin password after your first login.

        ## Default Port

        - **80** (HTTP)

        ## Useful Links

        - [Cockpit Official Site](https://getcockpit.com)
        - [Cockpit GitHub](https://github.com/Cockpit-HQ/Cockpit)
        - [Cockpit Documentation](https://getcockpit.com/documentation)

        ## License

        MIT — [GitHub](https://github.com/Cockpit-HQ/Cockpit)
    services:
        - name: cockpit-cms
          icon: https://getcockpit.com/assets/images/logo.svg
          template: PREBUILT_V2
          spec:
            source:
                image: cockpithq/cockpit:core-2.14.0
            ports:
                - id: web
                  port: 80
                  type: HTTP
            volumes:
                - id: storage
                  dir: /var/www/html/storage
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Plataforma de contenido headless construida con PHP. Gestiona colecciones, singletons y arboles con mas de 20 tipos de campo. Usa SQLite por defecto sin necesidad de base de datos externa.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Cockpit CMS
        readme: |
            # Cockpit CMS

            Cockpit es una plataforma de contenido headless para gestionar contenido estructurado via API. Soporta colecciones, singletons, estructuras de arbol, mas de 20 tipos de campo, procesamiento de imagenes, localizacion, roles y permisos. Usa SQLite por defecto.

            ## Configuracion inicial

            1. Haz clic en la URL desplegada para abrir Cockpit CMS.
            2. Navega a `/install` para inicializar el sistema.
            3. Se crea automaticamente una cuenta de administrador. Inicia sesion con usuario **admin** y la contrasena mostrada en pantalla.
            4. Cambia la contrasena de administrador despues del primer inicio de sesion.

            ## Puerto predeterminado

            - **80** (HTTP)

            ## Enlaces utiles

            - [Sitio oficial de Cockpit](https://getcockpit.com)
            - [Cockpit GitHub](https://github.com/Cockpit-HQ/Cockpit)
            - [Documentacion de Cockpit](https://getcockpit.com/documentation)

            ## Licencia

            MIT — [GitHub](https://github.com/Cockpit-HQ/Cockpit)
    id-ID:
        description: |
            Platform konten headless yang dibangun dengan PHP. Kelola koleksi, singleton, dan tree dengan 20+ tipe field. Menggunakan SQLite secara default tanpa database eksternal.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Cockpit CMS
        readme: |
            # Cockpit CMS

            Cockpit adalah platform konten headless untuk mengelola konten terstruktur melalui API. Mendukung koleksi, singleton, struktur tree, 20+ tipe field, pemrosesan gambar, lokalisasi, peran dan izin. Menggunakan SQLite secara default.

            ## Pengaturan Awal

            1. Klik URL yang telah di-deploy untuk membuka Cockpit CMS.
            2. Navigasi ke `/install` untuk menginisialisasi sistem.
            3. Akun admin default dibuat secara otomatis. Login dengan username **admin** dan password yang ditampilkan di layar.
            4. Ubah password admin setelah login pertama.

            ## Port Default

            - **80** (HTTP)

            ## Tautan Berguna

            - [Situs Resmi Cockpit](https://getcockpit.com)
            - [Cockpit GitHub](https://github.com/Cockpit-HQ/Cockpit)
            - [Dokumentasi Cockpit](https://getcockpit.com/documentation)

            ## Lisensi

            MIT — [GitHub](https://github.com/Cockpit-HQ/Cockpit)
    ja-JP:
        description: |
            PHP で構築されたヘッドレスコンテンツプラットフォーム。コレクション、シングルトン、ツリー構造を 20 以上のフィールドタイプで管理。デフォルトで SQLite を使用し、外部データベース不要。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Cockpit CMS にアクセスするためのドメイン
        readme: |
            # Cockpit CMS

            Cockpit は API 経由で構造化コンテンツを管理するためのヘッドレスコンテンツプラットフォームです。コレクション、シングルトン、ツリー構造、20 以上のフィールドタイプ、画像処理、ローカライゼーション、ロールとパーミッションに対応。デフォルトで SQLite を使用します。

            ## 初回セットアップ

            1. デプロイされた URL をクリックして Cockpit CMS を開きます。
            2. `/install` に移動してシステムを初期化します。
            3. デフォルトの管理者アカウントが自動作成されます。ユーザー名 **admin** と画面に表示されるパスワードでログインします。
            4. 初回ログイン後、管理者パスワードを変更してください。

            ## デフォルトポート

            - **80** (HTTP)

            ## 関連リンク

            - [Cockpit 公式サイト](https://getcockpit.com)
            - [Cockpit GitHub](https://github.com/Cockpit-HQ/Cockpit)
            - [Cockpit ドキュメント](https://getcockpit.com/documentation)

            ## ライセンス

            MIT — [GitHub](https://github.com/Cockpit-HQ/Cockpit)
    ko-KR:
        description: |
            PHP로 구축된 헤드리스 콘텐츠 플랫폼. 20가지 이상의 필드 유형으로 컬렉션, 싱글톤, 트리 구조를 관리합니다. 기본적으로 SQLite를 사용하며 외부 데이터베이스가 필요 없습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Cockpit CMS에 접속할 도메인
        readme: |
            # Cockpit CMS

            Cockpit은 API를 통해 구조화된 콘텐츠를 관리하는 헤드리스 콘텐츠 플랫폼입니다. 컬렉션, 싱글톤, 트리 구조, 20가지 이상의 필드 유형, 이미지 처리, 현지화, 역할 및 권한을 지원합니다. 기본적으로 SQLite를 사용합니다.

            ## 초기 설정

            1. 배포된 URL을 클릭하여 Cockpit CMS를 엽니다.
            2. `/install`로 이동하여 시스템을 초기화합니다.
            3. 기본 관리자 계정이 자동으로 생성됩니다. 사용자 이름 **admin**과 화면에 표시된 비밀번호로 로그인합니다.
            4. 첫 로그인 후 관리자 비밀번호를 변경하세요.

            ## 기본 포트

            - **80** (HTTP)

            ## 관련 링크

            - [Cockpit 공식 사이트](https://getcockpit.com)
            - [Cockpit GitHub](https://github.com/Cockpit-HQ/Cockpit)
            - [Cockpit 문서](https://getcockpit.com/documentation)

            ## 라이선스

            MIT — [GitHub](https://github.com/Cockpit-HQ/Cockpit)
    th-TH:
        description: |
            แพลตฟอร์มเนื้อหา headless ที่สร้างด้วย PHP จัดการ collections, singletons และ trees ด้วย field types มากกว่า 20 ชนิด ใช้ SQLite เป็นค่าเริ่มต้นโดยไม่ต้องใช้ฐานข้อมูลภายนอก
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Cockpit CMS
        readme: |
            # Cockpit CMS

            Cockpit เป็นแพลตฟอร์มเนื้อหา headless สำหรับจัดการเนื้อหาที่มีโครงสร้างผ่าน API รองรับ collections, singletons, โครงสร้างแบบต้นไม้, field types มากกว่า 20 ชนิด, การประมวลผลภาพ, การแปลภาษา, บทบาทและสิทธิ์ ใช้ SQLite เป็นค่าเริ่มต้น

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

            1. คลิก URL ที่ deploy แล้วเพื่อเปิด Cockpit CMS
            2. ไปที่ `/install` เพื่อเริ่มต้นระบบ
            3. ระบบจะสร้างบัญชีผู้ดูแลระบบเริ่มต้นโดยอัตโนมัติ เข้าสู่ระบบด้วยชื่อผู้ใช้ **admin** และรหัสผ่านที่แสดงบนหน้าจอ
            4. เปลี่ยนรหัสผ่านผู้ดูแลระบบหลังจากเข้าสู่ระบบครั้งแรก

            ## พอร์ตเริ่มต้น

            - **80** (HTTP)

            ## ลิงก์ที่เป็นประโยชน์

            - [เว็บไซต์ทางการ Cockpit](https://getcockpit.com)
            - [Cockpit GitHub](https://github.com/Cockpit-HQ/Cockpit)
            - [เอกสาร Cockpit](https://getcockpit.com/documentation)

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

            MIT — [GitHub](https://github.com/Cockpit-HQ/Cockpit)
    zh-CN:
        description: |
            以 PHP 构建的无头内容平台。管理集合、单例与树状结构，提供 20 种以上字段类型。默认使用 SQLite，无需外部数据库。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Cockpit CMS 的域名
        readme: |
            # Cockpit CMS

            Cockpit 是一个无头内容平台，用于通过 API 管理结构化内容。支持集合、单例和树状结构，提供 20 种以上字段类型、图片处理、本地化、角色与权限。默认使用 SQLite。

            ## 首次设置

            1. 点击部署后的网址打开 Cockpit CMS。
            2. 前往 `/install` 初始化系统。
            3. 系统会自动创建默认管理员账号。使用账号 **admin** 和屏幕显示的密码登录。
            4. 首次登录后请更改管理员密码。

            ## 默认端口

            - **80** (HTTP)

            ## 相关链接

            - [Cockpit 官方网站](https://getcockpit.com)
            - [Cockpit GitHub](https://github.com/Cockpit-HQ/Cockpit)
            - [Cockpit 文档](https://getcockpit.com/documentation)

            ## 授权

            MIT — [GitHub](https://github.com/Cockpit-HQ/Cockpit)
    zh-TW:
        description: |
            以 PHP 建構的無頭內容平台。管理集合、單例與樹狀結構，提供 20 種以上欄位類型。預設使用 SQLite，無需外部資料庫。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Cockpit CMS 的網域
        readme: |
            # Cockpit CMS

            Cockpit 是一個無頭內容平台，用於透過 API 管理結構化內容。支援集合、單例和樹狀結構，提供 20 種以上欄位類型、圖片處理、本地化、角色與權限。預設使用 SQLite。

            ## 首次設定

            1. 點擊部署後的網址開啟 Cockpit CMS。
            2. 前往 `/install` 初始化系統。
            3. 系統會自動建立預設管理員帳號。使用帳號 **admin** 和畫面顯示的密碼登入。
            4. 首次登入後請更改管理員密碼。

            ## 預設埠

            - **80** (HTTP)

            ## 相關連結

            - [Cockpit 官方網站](https://getcockpit.com)
            - [Cockpit GitHub](https://github.com/Cockpit-HQ/Cockpit)
            - [Cockpit 文件](https://getcockpit.com/documentation)

            ## 授權

            MIT — [GitHub](https://github.com/Cockpit-HQ/Cockpit)
