# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: ownCloud
spec:
    description: |
        ownCloud is a self-hosted file sync and share platform. Access your data from any device, share files with others, and collaborate on documents — all under your own control with no third-party cloud dependency.
    coverImage: https://owncloud.com/wp-content/uploads/2023/06/oc10_files_702x532.webp
    icon: https://raw.githubusercontent.com/owncloud/core/master/core/img/logo/owncloud-logo-bird.svg
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access ownCloud
    tags:
        - Tool
        - Productivity
    readme: |
        # ownCloud

        A self-hosted file sync and share platform. Store, sync and share files across all your devices while keeping full control of your data.

        ## Default Credentials

        - **Username**: `admin`
        - **Password**: auto-generated — find it in your Zeabur dashboard under **Service > Variables > `PASSWORD`**

        ## What You Can Do After Deployment

        1. **Visit your domain** — log in with the credentials above
        2. **Upload files** — drag and drop files into the web interface
        3. **Sync across devices** — install desktop and mobile clients from owncloud.com/install
        4. **Share files** — create public links or share with specific users
        5. **Collaborate** — edit documents together using built-in or third-party editors
        6. **Manage users** — add team members from the admin panel
        7. **Install apps** — extend functionality with apps from the ownCloud marketplace

        ## Key Features

        - File sync across all devices
        - File and folder sharing with public links
        - Versioning and trash bin for recovery
        - WebDAV support for third-party client access
        - User and group management
        - App marketplace for extended functionality
        - Activity feed and notifications

        ## License

        AGPL-3.0 — [GitHub](https://github.com/owncloud/core)
    services:
        - name: owncloud
          icon: https://raw.githubusercontent.com/owncloud/core/master/core/img/logo/owncloud-logo-bird.svg
          template: PREBUILT_V2
          spec:
            source:
                image: owncloud/server:10.16.1
            ports:
                - id: web
                  port: 8080
                  type: HTTP
            volumes:
                - id: owncloud-data
                  dir: /mnt/data
            env:
                ADMIN_PASSWORD:
                    default: ${PASSWORD}
                ADMIN_USERNAME:
                    default: admin
                OWNCLOUD_DB_TYPE:
                    default: sqlite
                OWNCLOUD_DOMAIN:
                    default: ${ZEABUR_WEB_DOMAIN}
                OWNCLOUD_TRUSTED_DOMAINS:
                    default: ${ZEABUR_WEB_DOMAIN}
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /status.php
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            ownCloud es una plataforma autoalojada de sincronizacion y uso compartido de archivos. Accede a tus datos desde cualquier dispositivo, comparte archivos y colabora en documentos bajo tu propio control.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a ownCloud
        readme: |
            # ownCloud

            Plataforma autoalojada de sincronizacion y uso compartido de archivos. Almacena, sincroniza y comparte archivos en todos tus dispositivos.

            ## Credenciales por defecto

            - **Usuario**: `admin`
            - **Contrasena**: generada automaticamente — consultala en el panel de Zeabur en **Servicio > Variables > `PASSWORD`**

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** — inicia sesion con las credenciales de arriba
            2. **Sube archivos** — arrastra y suelta archivos en la interfaz web
            3. **Sincroniza entre dispositivos** — instala clientes desde owncloud.com/install
            4. **Comparte archivos** — crea enlaces publicos o comparte con usuarios especificos
            5. **Colabora** — edita documentos juntos usando editores integrados o de terceros

            ## Licencia

            AGPL-3.0 — [GitHub](https://github.com/owncloud/core)
    id-ID:
        description: |
            ownCloud adalah platform sinkronisasi dan berbagi file self-hosted. Akses data dari perangkat apa pun, bagikan file, dan kolaborasi dokumen dengan kontrol penuh.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses ownCloud
        readme: |
            # ownCloud

            Platform sinkronisasi dan berbagi file self-hosted. Simpan, sinkronkan, dan bagikan file di semua perangkat.

            ## Info Login Default

            - **Username**: `admin`
            - **Password**: dibuat otomatis — lihat di dasbor Zeabur pada **Service > Variables > `PASSWORD`**

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — login dengan kredensial di atas
            2. **Upload file** — drag and drop file ke antarmuka web
            3. **Sinkronisasi antar perangkat** — install klien dari owncloud.com/install
            4. **Bagikan file** — buat tautan publik atau bagikan dengan pengguna tertentu
            5. **Kolaborasi** — edit dokumen bersama menggunakan editor bawaan atau pihak ketiga

            ## Lisensi

            AGPL-3.0 — [GitHub](https://github.com/owncloud/core)
    ja-JP:
        description: |
            ownCloud はセルフホスト型のファイル同期・共有プラットフォームです。あらゆるデバイスからデータにアクセスし、ファイルを共有し、ドキュメントを共同編集できます。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: ownCloud にアクセスするためのドメイン
        readme: |
            # ownCloud

            セルフホスト型のファイル同期・共有プラットフォーム。すべてのデバイス間でファイルを保存・同期・共有できます。

            ## デフォルトログイン情報

            - **ユーザー名**：`admin`
            - **パスワード**：自動生成 — Zeabur ダッシュボードの **サービス > Variables > `PASSWORD`** で確認

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

            1. **ドメインにアクセス** — 上記の認証情報でログイン
            2. **ファイルをアップロード** — Web インターフェースにドラッグ＆ドロップ
            3. **デバイス間で同期** — owncloud.com/install からクライアントをインストール
            4. **ファイルを共有** — 公開リンクの作成や特定ユーザーとの共有
            5. **コラボレーション** — 内蔵またはサードパーティエディタで共同編集

            ## ライセンス

            AGPL-3.0 — [GitHub](https://github.com/owncloud/core)
    ko-KR:
        description: |
            ownCloud는 셀프 호스팅 파일 동기화 및 공유 플랫폼입니다. 모든 기기에서 데이터에 접근하고, 파일을 공유하며, 문서를 공동 편집할 수 있습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: ownCloud에 접속할 도메인
        readme: |
            # ownCloud

            셀프 호스팅 파일 동기화 및 공유 플랫폼. 모든 기기에서 파일을 저장, 동기화, 공유할 수 있습니다.

            ## 기본 로그인 정보

            - **사용자명**: `admin`
            - **비밀번호**: 자동 생성 — Zeabur 대시보드의 **서비스 > Variables > `PASSWORD`** 에서 확인

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 위 자격 증명으로 로그인
            2. **파일 업로드** — 웹 인터페이스에 드래그 앤 드롭
            3. **기기 간 동기화** — owncloud.com/install에서 클라이언트 설치
            4. **파일 공유** — 공개 링크 생성 또는 특정 사용자와 공유
            5. **협업** — 내장 또는 서드파티 편집기로 공동 편집

            ## 라이선스

            AGPL-3.0 — [GitHub](https://github.com/owncloud/core)
    th-TH:
        description: |
            ownCloud เป็นแพลตฟอร์มซิงค์และแชร์ไฟล์แบบ self-hosted เข้าถึงข้อมูลจากอุปกรณ์ใดก็ได้ แชร์ไฟล์ และทำงานร่วมกันบนเอกสารภายใต้การควบคุมของคุณเอง
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง ownCloud
        readme: |
            # ownCloud

            แพลตฟอร์มซิงค์และแชร์ไฟล์แบบ self-hosted จัดเก็บ ซิงค์ และแชร์ไฟล์ในทุกอุปกรณ์

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

            - **ชื่อผู้ใช้**: `admin`
            - **รหัสผ่าน**: สร้างอัตโนมัติ — ดูได้ที่แดชบอร์ด Zeabur ใน **Service > Variables > `PASSWORD`**

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

            1. **เข้าสู่โดเมน** — เข้าสู่ระบบด้วยข้อมูลด้านบน
            2. **อัปโหลดไฟล์** — ลากและวางไฟล์ไปยังเว็บอินเทอร์เฟซ
            3. **ซิงค์ข้ามอุปกรณ์** — ติดตั้งไคลเอนต์จาก owncloud.com/install
            4. **แชร์ไฟล์** — สร้างลิงก์สาธารณะหรือแชร์กับผู้ใช้เฉพาะ
            5. **ทำงานร่วมกัน** — แก้ไขเอกสารร่วมกันด้วยตัวแก้ไขในตัวหรือของบุคคลที่สาม

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

            AGPL-3.0 — [GitHub](https://github.com/owncloud/core)
    zh-CN:
        description: |
            ownCloud 是自托管的文件同步与共享平台。从任何设备访问数据、与他人共享文件并协作编辑文档，完全由你掌控，无需依赖第三方云端。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 ownCloud 的域名
        readme: |
            # ownCloud

            自托管的文件同步与共享平台。在所有设备间存储、同步和共享文件，同时完全掌控你的数据。

            ## 默认登录信息

            - **用户名**：`admin`
            - **密码**：自动生成 — 请在 Zeabur 控制台的 **服务 > Variables > `PASSWORD`** 中查看

            ## 部署后可以做什么

            1. **打开域名** — 使用上方账号密码登录
            2. **上传文件** — 拖放文件至网页界面
            3. **跨设备同步** — 从 owncloud.com/install 安装桌面和移动客户端
            4. **共享文件** — 创建公开链接或与特定用户共享
            5. **协作** — 使用内置或第三方编辑器共同编辑文档
            6. **管理用户** — 在管理面板添加团队成员

            ## 授权

            AGPL-3.0 — [GitHub](https://github.com/owncloud/core)
    zh-TW:
        description: |
            ownCloud 是自架的檔案同步與分享平台。從任何裝置存取資料、與他人分享檔案並協作編輯文件，完全由你掌控，無需依賴第三方雲端。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 ownCloud 的網域
        readme: |
            # ownCloud

            自架的檔案同步與分享平台。在所有裝置間儲存、同步和分享檔案，同時完全掌控你的資料。

            ## 預設登入資訊

            - **帳號**：`admin`
            - **密碼**：自動產生 — 請至 Zeabur 控制台的 **服務 > Variables > `PASSWORD`** 查看

            ## 部署後可以做什麼

            1. **開啟網域** — 使用上方帳號密碼登入
            2. **上傳檔案** — 拖放檔案至網頁介面
            3. **跨裝置同步** — 從 owncloud.com/install 安裝桌面和行動用戶端
            4. **分享檔案** — 建立公開連結或與特定使用者分享
            5. **協作** — 使用內建或第三方編輯器共同編輯文件
            6. **管理使用者** — 在管理面板新增團隊成員
            7. **安裝應用** — 從 ownCloud 市集擴充功能

            ## 授權

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