# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Funkwhale
spec:
    description: |
        Funkwhale is a self-hosted music server that lets you listen, share, and discover music. This all-in-one image bundles PostgreSQL, Redis, and Nginx so it runs as a single container with no external dependencies.
    coverImage: https://avatars.githubusercontent.com/u/34music?s=200
    icon: https://avatars.githubusercontent.com/u/34music?s=200
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Funkwhale
    tags:
        - Tool
        - Entertainment
        - Media
    readme: |
        # Funkwhale

        A self-hosted, federated music streaming platform. Upload your own library, subscribe to other Funkwhale pods, and enjoy a modern listening experience in your browser or via Subsonic-compatible apps.

        ## What You Can Do After Deployment

        1. **Visit your domain** -- on first access, create an admin account via the web interface or with `funkwhale-manage createsuperuser` in the service shell
        2. **Upload music** -- place audio files in the `/music` volume or use the web uploader; Funkwhale will tag, organize, and index them
        3. **Stream anywhere** -- use the built-in web player or connect Subsonic-compatible apps (DSub, Ultrasonic, etc.)
        4. **Federate** -- follow libraries on other Funkwhale pods across the fediverse
        5. **Manage users** -- create accounts for friends or family with per-library permissions

        ## Key Features

        - Modern web UI with album art, playlists, and radio
        - Subsonic API compatible -- works with dozens of mobile and desktop apps
        - Federation via ActivityPub -- share and discover music across pods
        - Multi-user with fine-grained permissions
        - Podcast support and channel subscriptions
        - Embedded PostgreSQL, Redis, and Nginx in the all-in-one image

        ## Volumes

        - `/data` -- application data, database, and configuration
        - `/music` -- your music library; place audio files here

        ## License

        AGPL-3.0 -- [GitHub](https://github.com/funkwhale/funkwhale) | [Website](https://funkwhale.audio)
    services:
        - name: funkwhale
          icon: https://avatars.githubusercontent.com/u/34music?s=200
          template: PREBUILT_V2
          spec:
            source:
                image: funkwhale/all-in-one:1.2.10
            ports:
                - id: web
                  port: 80
                  type: HTTP
            volumes:
                - id: data
                  dir: /data
                - id: music
                  dir: /music
            env:
                FUNKWHALE_HOSTNAME:
                    default: ${ZEABUR_WEB_DOMAIN}
                    expose: false
                NESTED_PROXY:
                    default: "1"
                    expose: false
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Funkwhale es una plataforma federada de streaming de musica autoalojada. La imagen all-in-one incluye PostgreSQL, Redis y Nginx en un solo contenedor.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Funkwhale
        readme: |
            # Funkwhale

            Plataforma de streaming de musica federada y autoalojada. Sube tu coleccion, suscribete a otros Pods y disfruta desde el navegador o apps Subsonic.

            ## Despues del despliegue

            1. **Visita tu dominio** -- crea una cuenta de administrador
            2. **Sube musica** -- coloca archivos en el volumen `/music`
            3. **Streaming** -- reproductor web o apps Subsonic compatibles
            4. **Federacion** -- sigue bibliotecas en otros Pods
            5. **Gestiona usuarios** -- crea cuentas con permisos

            ## Caracteristicas

            - Compatible con API Subsonic
            - Federacion ActivityPub
            - Multiusuario con permisos
            - Soporte de podcasts

            ## Licencia

            AGPL-3.0 -- [GitHub](https://github.com/funkwhale/funkwhale)
    id-ID:
        description: |
            Funkwhale adalah platform streaming musik federasi self-hosted. Image all-in-one sudah termasuk PostgreSQL, Redis, dan Nginx dalam satu kontainer.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Funkwhale
        readme: |
            # Funkwhale

            Platform streaming musik federasi self-hosted. Upload koleksi musik, subscribe ke Pod lain, dan nikmati dari browser atau app Subsonic.

            ## Setelah deploy

            1. **Buka domain** -- buat akun admin pada akses pertama
            2. **Upload musik** -- letakkan file di volume `/music`
            3. **Streaming** -- web player atau app Subsonic
            4. **Federasi** -- ikuti library di Pod lain
            5. **Kelola pengguna** -- buat akun dengan izin

            ## Fitur

            - Kompatibel API Subsonic
            - Federasi ActivityPub
            - Multi-user dengan kontrol izin
            - Dukungan podcast

            ## Lisensi

            AGPL-3.0 -- [GitHub](https://github.com/funkwhale/funkwhale)
    ja-JP:
        description: |
            Funkwhaleはセルフホストの連合型音楽ストリーミングプラットフォームです。PostgreSQL、Redis、Nginxを内蔵したオールインワンイメージで単一コンテナで動作します。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Funkwhaleにアクセスするためのドメイン
        readme: |
            # Funkwhale

            セルフホスト連合型音楽ストリーミング。音楽コレクションをアップロードし、他のPodをフォローできます。

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

            1. **ドメインにアクセス** -- 初回アクセス時に管理者アカウントを作成
            2. **音楽をアップロード** -- `/music` ボリュームにファイルを配置
            3. **ストリーミング再生** -- Webプレーヤーまたは Subsonic互換アプリ
            4. **フェデレーション** -- 他のPodの音楽ライブラリをフォロー
            5. **ユーザー管理** -- 友人や家族のアカウントを作成

            ## 主な機能

            - Subsonic API互換
            - ActivityPubフェデレーション
            - マルチユーザー・権限管理
            - ポッドキャストサポート

            ## ライセンス

            AGPL-3.0 -- [GitHub](https://github.com/funkwhale/funkwhale)
    ko-KR:
        description: |
            Funkwhale은 셀프호스팅 연합형 음악 스트리밍 플랫폼입니다. 올인원 이미지에 PostgreSQL, Redis, Nginx가 포함되어 단일 컨테이너로 실행됩니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Funkwhale에 접속할 도메인
        readme: |
            # Funkwhale

            셀프호스팅 연합형 음악 스트리밍 플랫폼. 음악 컬렉션을 업로드하고 다른 Pod를 구독하세요.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** -- 처음 접속 시 관리자 계정 생성
            2. **음악 업로드** -- `/music` 볼륨에 파일 배치
            3. **스트리밍** -- 웹 플레이어 또는 Subsonic 호환 앱
            4. **페더레이션** -- 다른 Pod의 라이브러리 팔로우
            5. **사용자 관리** -- 계정 생성 및 권한 설정

            ## 주요 기능

            - Subsonic API 호환
            - ActivityPub 페더레이션
            - 다중 사용자 및 권한 관리
            - 팟캐스트 지원

            ## 라이선스

            AGPL-3.0 -- [GitHub](https://github.com/funkwhale/funkwhale)
    th-TH:
        description: |
            Funkwhale คือแพลตฟอร์มสตรีมเพลงแบบ self-hosted แบบ federated อิมเมจ all-in-one รวม PostgreSQL, Redis และ Nginx ในคอนเทนเนอร์เดียว
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Funkwhale
        readme: |
            # Funkwhale

            แพลตฟอร์มสตรีมเพลงแบบ federated self-hosted อัปโหลดคอลเลกชันเพลง ติดตาม Pod อื่น

            ## หลังจากติดตั้ง

            1. **เข้าสู่โดเมน** -- สร้างบัญชีผู้ดูแลในการเข้าถึงครั้งแรก
            2. **อัปโหลดเพลง** -- วางไฟล์ในโวลุ่ม `/music`
            3. **สตรีม** -- เว็บเพลเยอร์หรือแอป Subsonic
            4. **เฟเดอเรชัน** -- ติดตามไลบรารีจาก Pod อื่น
            5. **จัดการผู้ใช้** -- สร้างบัญชีพร้อมสิทธิ์

            ## ฟีเจอร์

            - รองรับ Subsonic API
            - ActivityPub เฟเดอเรชัน
            - หลายผู้ใช้พร้อมการจัดการสิทธิ์
            - รองรับพอดแคสต์

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

            AGPL-3.0 -- [GitHub](https://github.com/funkwhale/funkwhale)
    zh-CN:
        description: |
            Funkwhale 是自托管的联邦式音乐流媒体平台。上传音乐收藏、订阅其他 Pod，一体式镜像内置 PostgreSQL、Redis 和 Nginx。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Funkwhale 的域名
        readme: |
            # Funkwhale

            自托管联邦式音乐流媒体平台，上传音乐收藏，订阅其他 Pod，享受现代化听歌体验。

            ## 部署后可以做什么

            1. **打开域名** -- 首次访问时创建管理员账号
            2. **上传音乐** -- 将文件放入 `/music` 存储卷或使用网页上传
            3. **流媒体播放** -- 使用网页播放器或 Subsonic 兼容 App
            4. **联邦互动** -- 关注其他 Funkwhale Pod 的音乐库
            5. **管理用户** -- 为朋友或家人创建账号

            ## 主要功能

            - 现代 Web 界面，支持专辑封面、播放列表和电台
            - 兼容 Subsonic API
            - ActivityPub 联邦
            - 多用户与权限控制

            ## 授权

            AGPL-3.0 -- [GitHub](https://github.com/funkwhale/funkwhale)
    zh-TW:
        description: |
            Funkwhale 是自架的聯邦式音樂串流平台。上傳你的音樂收藏、訂閱其他 Pod、透過瀏覽器或 Subsonic 相容 App 享受音樂。此一體式映像內建 PostgreSQL、Redis 和 Nginx，單一容器即可運行。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Funkwhale 的網域
        readme: |
            # Funkwhale

            自架的聯邦式音樂串流平台，上傳你的音樂收藏，訂閱其他 Funkwhale Pod，享受現代化聆聽體驗。

            ## 部署後可以做什麼

            1. **開啟網域** -- 首次存取時建立管理員帳號
            2. **上傳音樂** -- 將音樂檔案放入 `/music` 磁碟區或使用網頁上傳器
            3. **串流播放** -- 使用內建網頁播放器或連接 Subsonic 相容 App
            4. **聯邦互動** -- 追蹤其他 Funkwhale Pod 上的音樂庫
            5. **管理使用者** -- 為朋友或家人建立帳號並設定權限

            ## 主要功能

            - 現代化 Web 介面，支援專輯封面、播放清單和電台
            - 相容 Subsonic API，支援數十種行動和桌面 App
            - 透過 ActivityPub 聯邦分享和發現音樂
            - 多使用者與細緻權限控制
            - Podcast 支援和頻道訂閱

            ## 授權

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