Prefect
Prefect is a workflow orchestration platform for Python. Turn any Python function into a flow with retries, caching and schedules, deploy it to a work pool and follow every run, its logs and task states in a web UI. It covers data pipelines, ML jobs and general automation.
Prefect
In Development
This script is currently in active development and may be unstable or incomplete. Use in production environments is not recommended.
This script is currently in active development and may be unstable or incomplete. Use in production environments is not recommended.
Installation
Default install:
1
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/DevScripts/main/ct/prefect.sh)"
Notes
The UI asks for the full user:password auth string from /opt/prefect_data/.env. Clients need it as PREFECT_API_AUTH_STRING, plus PREFECT_API_URL=http://[IP]:4200/api.
Anyone with the auth string can deploy flows that run as root in this container. Install the packages your flows need with uv pip install --python /opt/prefect/.venv/bin/python.