# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Python Function for Crawlers
spec:
    description: Python function runtime for crawlers
    icon: https://svgl.app/library/python.svg
    readme: |
        # Python Function for Crawlers

        This Python function runtime contains the necessary dependencies
        (for example, Chromium and ChromeDriver) for Playwright and Selenium.

        It is much larger than the default Python runtime. Unless you need
        Playwright and Selenium, you should use the default Python runtime.
    services:
        - name: function-python-crawler
          icon: https://svgl.app/library/python.svg
          template: PREBUILT_V2
          spec:
            id: function-python-crawler
            source:
                image: zeabur/function-python-crawler
            volumes:
                - id: service
                  dir: /srv
            env: {}
            configs: []
