Pranit
09/13/2022, 6:07 PMprefect agent start -q 'default'
Christopher Boyd
09/13/2022, 6:17 PMAlexey Stoletny
09/13/2022, 6:27 PMPranit
09/15/2022, 6:14 AMChristopher Boyd
09/15/2022, 2:00 PMPranit
09/15/2022, 2:01 PMSven Aoki
09/15/2022, 2:42 PMservices:
prefect-agent:
container_name: prefect_agent_cloud
build:
context: ./agent
command:
- prefect
- agent
- start
- 'your_queue_name'
environment:
PREFECT_API_URL: you_url
PREFECT_API_KEY: your_key
PREFECT_LOGGING_LEVEL: DEBUG
DOCKER_HOST: <unix://var/run/docker.sock>
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: on-failure