# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: ActivePieces
spec:
    description: Your friendliest open source all-in-one automation tool
    coverImage: https://github.com/activepieces/activepieces/assets/1812998/76c97441-c285-4480-bc75-30a0c73ed340
    icon: https://icons.zeabur.com/activepieces.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: What is the domain of your ActivePieces?
    tags:
        - Automation
    readme: "\U0001F92F Welcome to Activepieces\n\nYour friendliest open source all-in-one automation tool, designed to be extensible through a type-safe pieces framework written in Typescript.\n\n\U0001F3A8 Flow Builder\n\nUser-friendly Workflow Builder! Enjoy building fun and interactive flows with support for Branches, Loops, and Drag and Drop.\n\n\U0001F50C Pieces\n\nActivepieces integrates Google Sheets, OpenAI, Discord, and RSS, along with 80+ other integrations. The list of supported integrations continues to grow rapidly, thanks to valuable contributions from the community.\n\nActivepieces is an open ecosystem; all piece source code is available in the repository, and they are versioned and published directly to npmjs.com upon contributions.\n\nIf you cannot find a specific piece on the pieces roadmap, please submit a request by visiting the following link: Request Piece\n\nAlternatively, if you are a developer, you can quickly build your own piece using our TypeScript framework. For guidance, please refer to the following guide: Contributor's Guide\n\n\U0001F4A1 Infinite Use Cases\n\nCommunity templates provide inspiration and enable you to effortlessly build automation in no time.\n\nLicense\n\nActivepieces' Community Edition is released as open source under the MIT license and enterprise features are released under Commercial License\n\nRead more about the feature comparison here https://www.activepieces.com/docs/about/editions\n"
    services:
        - name: ActivePieces
          icon: https://icons.zeabur.com/activepieces.png
          template: PREBUILT
          spec:
            id: activepieces
            source:
                image: activepieces/activepieces:latest
            ports:
                - id: web
                  port: 80
                  type: HTTP
            volumes:
                - id: config
                  dir: /root/.activepieces
            env:
                AP_DB_TYPE:
                    default: SQLITE3
                AP_FRONTEND_URL:
                    default: ${ZEABUR_WEB_URL}
                AP_QUEUE_MODE:
                    default: MEMORY
          domainKey: PUBLIC_DOMAIN
