ale
06/30/2023, 8:59 AMprefect deployprefect deployprefect deploy-v /var/run/docker.sock:/var/run/docker.sockEmma Rizzi
07/04/2023, 3:06 PMdeployment.yamlprefect deployale
07/04/2023, 3:12 PMprefect deployprefect.yaml# Welcome to your prefect.yaml file! You can you this file for storing and managing
# configuration for deploying your flows. We recommend committing this file to source
# control along with your flow code.
# Generic metadata about this project
name: pacc-london-2023
prefect-version: 2.10.16
# build section allows you to manage and build docker images
build:
- prefect_docker.deployments.steps.build_docker_image:
    id: build_image
    requires: prefect-docker>=0.3.0
    image_name: mydockerimage
    tag: 0.0.1
    dockerfile: Dockerfile
    push: False
# push section allows you to manage if and how this project is uploaded to remote locations
push:
# pull section allows you to provide instructions for cloning this project in remote locations
pull:
- prefect.deployments.steps.set_working_directory:
    directory: /opt/prefect/pacc-london-2023
# the deployments section allows you to provide configuration for deploying flows
deployments:
- name: myflowdockerdeployment
  version:
  tags: []
  description:
  entrypoint: myflow.py:collect_data
  parameters: {}
  work_pool:
    name: workpooldocker
    work_queue_name:
    job_variables:
      image: '{{ build_image.image }}'
  schedule:Emma Rizzi
07/04/2023, 3:14 PMale
07/04/2023, 3:15 PM