<@ULVA73B9P> I tried using the example docker comp...
# ask-marvin
b
@Marvin I tried using the example docker compose.yaml from the Prefect website (https://docs.prefect.io/v3/how-to-guides/self-hosted/docker-compose#how-to-run-the-prefect-server-via-docker-compose) When when I run
docker compose up
I get a few errors relating to the postgres database migrations not running, and the API being unaccessible. These issues were fixed by adding
PREFECT_UI_API_URL: <http://localhost:4200/api>
to both prefect-server and prefect-services, and by changing the prefect-server command from
prefect server start --no-services"
to
/bin/sh -c "prefect server database upgrade && prefect server start --no-services"
. Is there a recent docker compose example that works out of the box?
m
🔄 Researching your answer... this may take a while 🔧 Using tool:
research_prefect_topic
📊 Tools used: •
research_prefect_topic
(3x)