Deploy a self-hosted Prefect server environment using Docker Compose, including PostgreSQL, Redis, server, background services, and worker.
postgres
: PostgreSQL databaseredis
: Redis message brokerprefect-server
: Prefect serverprefect-services
: Prefect background servicesprefect-worker
: Prefect workercompose.yml
file with the following contents:
compose.yml
file to your local machine.
prefect
.local-pool
.docker compose logs -f
to view live logs for all services.compose.yml
does not configure authentication. See the authentication guide for more information.