Emmanuel Rambeau
10/15/2024, 12:19 PMMarvin
10/15/2024, 12:19 PMI have a self-hosted version of prefect server deployed with following docker-compose.It worked with the image prefecthq/prefect:2-python3.10, but no more with the image prefecthq/prefect:3-latest version Now in the UI I have the following error : "Can't connect to Server API at http://0.0.0.0:4200. Check that it's accessible from your machine." I tried with localhost or 127.0.0.1 but the UI is no more accessible. How can I fix it ? Below is my docker-compose.yaml services: server: container_name: prefect-server image: prefecthq/prefect:3-latest restart: unless-stopped volumes: - ./server:/root/.prefect - /home/data/flows:/opt/prefect/flows entrypoint: ["prefect", "server", "start"] environment: - PREFECT_SERVER_API_HOST=127.0.0.1 - PREFECT_API_DATABASE_CONNECTION_URL=postgresql+asyncpg://postgres:postgres@db:5432/prefect ports: - 4200:4200 depends_on: - db worker: container_name: prefect-worker image: prefecthq/prefect:3-latest restart: unless-stopped entrypoint: ["/opt