# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Answer
spec:
    description: A Q&A platform software for teams at any scales.
    coverImage: https://github.com/apache/incubator-answer/raw/main/docs/img/screenshot.png
    icon: https://avatars.githubusercontent.com/u/47359?s=48&v=4
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain name of your Answer website.
    tags:
        - Website
    readme: |-
        ## Introduction

        A Q&A platform software for teams at any scales. Whether it’s a community forum, help center, or knowledge management platform, you can always count on Answer.
    services:
        - name: Answer
          icon: https://avatars.githubusercontent.com/u/47359
          template: PREBUILT
          spec:
            id: answer
            source:
                image: apache/answer
            ports:
                - id: web
                  port: 80
                  type: HTTP
            volumes:
                - id: data
                  dir: /data
          domainKey: PUBLIC_DOMAIN
