check out this setup:
https://discourse.prefect.io/t/running-prefect-2-with-docker-compose/1516
and this post: