# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: TileServer GL
spec:
    description: |
        TileServer GL is a map tile server that serves vector and raster tiles from MBTiles files. It provides WMTS endpoints, a built-in map viewer, and support for Mapbox GL styles for rendering beautiful maps in the browser.
    coverImage: https://avatars.githubusercontent.com/u/18467893
    icon: https://avatars.githubusercontent.com/u/18467893
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access TileServer GL
    tags:
        - Tool
        - Developer Tools
    readme: |
        # TileServer GL

        A map tile server for vector and raster tiles from MBTiles files. Provides WMTS endpoints, a built-in viewer, and Mapbox GL style support.

        ## What You Can Do After Deployment

        1. **Visit your domain** — browse the built-in map viewer with sample data
        2. **Upload MBTiles** — place your `.mbtiles` files in the data volume to serve custom map tiles
        3. **Configure styles** — add Mapbox GL JSON style files for custom map rendering
        4. **Use WMTS endpoints** — integrate with GIS tools via the standard WMTS protocol
        5. **Embed maps** — use the tile URLs in Leaflet, MapLibre GL, or OpenLayers applications
        6. **Generate raster tiles** — server-side rendering of vector tiles to raster PNG/JPEG

        ## Key Features

        - Vector and raster tile serving
        - MBTiles file support
        - Mapbox GL style rendering
        - WMTS endpoint compliance
        - Built-in map viewer
        - Server-side rendering to raster
        - TileJSON and style JSON APIs
        - No external database required

        ## License

        BSD-2-Clause — [GitHub](https://github.com/maptiler/tileserver-gl)
    services:
        - name: tileserver-gl
          icon: https://avatars.githubusercontent.com/u/18467893
          template: PREBUILT_V2
          spec:
            source:
                image: maptiler/tileserver-gl:v5.5.0
            ports:
                - id: web
                  port: 8080
                  type: HTTP
            volumes:
                - id: tileserver-data
                  dir: /data
            env:
                TZ:
                    default: UTC
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            TileServer GL es un servidor de mosaicos de mapas que sirve mosaicos vectoriales y raster desde archivos MBTiles. Proporciona endpoints WMTS, un visor integrado y soporte para estilos Mapbox GL.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a TileServer GL
        readme: |
            # TileServer GL

            Servidor de mosaicos de mapas para mosaicos vectoriales y raster desde archivos MBTiles. Endpoints WMTS, visor integrado y soporte Mapbox GL.

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** — explora datos de ejemplo con el visor integrado
            2. **Sube MBTiles** — coloca archivos `.mbtiles` en el volumen de datos
            3. **Configura estilos** — agrega archivos de estilo Mapbox GL JSON
            4. **Usa endpoints WMTS** — integra con herramientas GIS

            ## Licencia

            BSD-2-Clause — [GitHub](https://github.com/maptiler/tileserver-gl)
    id-ID:
        description: |
            TileServer GL adalah server tile peta yang menyajikan tile vektor dan raster dari file MBTiles. Menyediakan endpoint WMTS, penampil peta bawaan, dan dukungan gaya Mapbox GL.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses TileServer GL
        readme: |
            # TileServer GL

            Server tile peta untuk tile vektor dan raster dari file MBTiles. Endpoint WMTS, penampil bawaan, dan dukungan gaya Mapbox GL.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — jelajahi data contoh dengan penampil bawaan
            2. **Unggah MBTiles** — letakkan file `.mbtiles` di volume data
            3. **Konfigurasi gaya** — tambahkan file gaya Mapbox GL JSON
            4. **Gunakan endpoint WMTS** — integrasi dengan alat GIS

            ## Lisensi

            BSD-2-Clause — [GitHub](https://github.com/maptiler/tileserver-gl)
    ja-JP:
        description: |
            TileServer GL は MBTiles ファイルからベクターおよびラスタータイルを配信するマップタイルサーバーです。WMTS エンドポイント、内蔵ビューアー、Mapbox GL スタイルサポートを提供します。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: TileServer GL にアクセスするためのドメイン
        readme: |
            # TileServer GL

            MBTiles ファイルからベクターおよびラスタータイルを配信するマップタイルサーバー。WMTS エンドポイント、内蔵ビューアー、Mapbox GL スタイル対応。

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

            1. **ドメインにアクセス** — 内蔵ビューアーでサンプルデータを閲覧
            2. **MBTiles をアップロード** — `.mbtiles` ファイルをデータボリュームに配置
            3. **スタイルを設定** — Mapbox GL JSON スタイルファイルを追加
            4. **WMTS エンドポイントを使用** — GIS ツールと統合

            ## ライセンス

            BSD-2-Clause — [GitHub](https://github.com/maptiler/tileserver-gl)
    ko-KR:
        description: |
            TileServer GL은 MBTiles 파일에서 벡터 및 래스터 타일을 제공하는 맵 타일 서버입니다. WMTS 엔드포인트, 내장 뷰어, Mapbox GL 스타일 지원을 제공합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: TileServer GL에 접속할 도메인
        readme: |
            # TileServer GL

            MBTiles 파일에서 벡터 및 래스터 타일을 제공하는 맵 타일 서버. WMTS 엔드포인트, 내장 뷰어, Mapbox GL 스타일 지원.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 내장 뷰어로 샘플 데이터 탐색
            2. **MBTiles 업로드** — `.mbtiles` 파일을 데이터 볼륨에 배치
            3. **스타일 설정** — Mapbox GL JSON 스타일 파일 추가
            4. **WMTS 엔드포인트 사용** — GIS 도구와 통합

            ## 라이선스

            BSD-2-Clause — [GitHub](https://github.com/maptiler/tileserver-gl)
    th-TH:
        description: |
            TileServer GL เป็นเซิร์ฟเวอร์ไทล์แผนที่ที่ให้บริการไทล์เวกเตอร์และแรสเตอร์จากไฟล์ MBTiles มี WMTS endpoint ตัวดูแผนที่ในตัว และรองรับสไตล์ Mapbox GL
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง TileServer GL
        readme: |
            # TileServer GL

            เซิร์ฟเวอร์ไทล์แผนที่สำหรับไทล์เวกเตอร์และแรสเตอร์จากไฟล์ MBTiles มี WMTS endpoint ตัวดูในตัว และรองรับสไตล์ Mapbox GL

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

            1. **เข้าสู่โดเมน** — สำรวจข้อมูลตัวอย่างด้วยตัวดูในตัว
            2. **อัปโหลด MBTiles** — วางไฟล์ `.mbtiles` ในโวลุ่มข้อมูล
            3. **ตั้งค่าสไตล์** — เพิ่มไฟล์สไตล์ Mapbox GL JSON
            4. **ใช้ WMTS endpoint** — เชื่อมต่อกับเครื่องมือ GIS

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

            BSD-2-Clause — [GitHub](https://github.com/maptiler/tileserver-gl)
    zh-CN:
        description: |
            TileServer GL 是一款地图瓦片服务器，从 MBTiles 文件提供矢量和栅格瓦片。提供 WMTS 端点、内置地图查看器和 Mapbox GL 样式支持。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 TileServer GL 的域名
        readme: |
            # TileServer GL

            从 MBTiles 文件提供矢量和栅格瓦片的地图服务器。提供 WMTS 端点、内置查看器和 Mapbox GL 样式支持。

            ## 部署后可以做什么

            1. **打开域名** — 使用内置地图查看器浏览示例数据
            2. **上传 MBTiles** — 将 `.mbtiles` 文件放入数据卷
            3. **配置样式** — 添加 Mapbox GL JSON 样式文件
            4. **使用 WMTS 端点** — 通过标准 WMTS 协议与 GIS 工具集成
            5. **嵌入地图** — 在 Leaflet、MapLibre GL 或 OpenLayers 中使用瓦片 URL

            ## 许可证

            BSD-2-Clause — [GitHub](https://github.com/maptiler/tileserver-gl)
    zh-TW:
        description: |
            TileServer GL 是一款地圖磁磚伺服器，從 MBTiles 檔案提供向量和光柵磁磚。提供 WMTS 端點、內建地圖檢視器，以及 Mapbox GL 樣式支援，在瀏覽器中渲染精美地圖。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 TileServer GL 的網域
        readme: |
            # TileServer GL

            從 MBTiles 檔案提供向量和光柵磁磚的地圖伺服器。提供 WMTS 端點、內建檢視器和 Mapbox GL 樣式支援。

            ## 部署後可以做什麼

            1. **開啟網域** — 使用內建地圖檢視器瀏覽範例資料
            2. **上傳 MBTiles** — 將 `.mbtiles` 檔案放入資料卷以提供自訂地圖磁磚
            3. **設定樣式** — 新增 Mapbox GL JSON 樣式檔以自訂渲染
            4. **使用 WMTS 端點** — 透過標準 WMTS 協定與 GIS 工具整合
            5. **嵌入地圖** — 在 Leaflet、MapLibre GL 或 OpenLayers 中使用磁磚 URL
            6. **產生光柵磁磚** — 將向量磁磚在伺服器端渲染為 PNG/JPEG

            ## 授權

            BSD-2-Clause — [GitHub](https://github.com/maptiler/tileserver-gl)
