# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Slash
spec:
    description: Slash is an open source, self-hosted bookmarks and link sharing platform.
    icon: https://jsd.cdn.zzko.cn/gh/boojack/slash@latest/resources/logo.png
    readme: |-
        # Slash
        Slash is an open source, self-hosted bookmarks and link sharing platform. It allows you to organize your links with tags, and share them with custom shortened URLs. Slash also supports team sharing of link libraries for easy collaboration.
    services:
        - name: Slash
          icon: https://jsd.cdn.zzko.cn/gh/boojack/slash@latest/resources/logo.png
          template: PREBUILT
          spec:
            id: slash
            source:
                image: yourselfhosted/slash:latest
            ports:
                - id: web
                  port: 5231
                  type: HTTP
            volumes:
                - id: data
                  dir: /var/opt/slash
            env:
                SLASH_MODE:
                    default: prod
                SLASH_PORT:
                    default: "5231"
