# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Pocketbase
spec:
    description: PocketBase is an open source backend consisting of embedded database (SQLite) with realtime subscriptions, built-in auth management, convenient dashboard UI and simple REST-ish API.
    icon: https://pocketbase.io/images/logo.svg
    readme: |
        [PocketBase](https://pocketbase.io) is an open source Go backend, consisting of:

        - embedded database (_SQLite_) with **realtime subscriptions**
        - built-in **files and users management**
        - convenient **Admin dashboard UI**
        - and simple **REST-ish API**

        **For documentation and examples, please visit https://pocketbase.io/docs.**
    services:
        - name: PocketBase
          icon: https://pocketbase.io/images/logo.svg
          template: PREBUILT
          spec:
            id: pocketbase
            source:
                image: ghcr.io/muchobien/pocketbase:0.18
            ports:
                - id: web
                  port: 8090
                  type: HTTP
            volumes:
                - id: data
                  dir: /pb_data
