https://prefect.io logo
Title
c

Carlos Cueto

01/26/2022, 9:22 PM
I'm trying to deploy Prefect Server/UI to Azure Web App Service using Docker with docker compose and I'm trying to use the docker-compose.yml from https://github.com/flavienbwk/prefect-docker-compose/blob/main/server/docker-compose.yml. Has anyone successfully done this before? The UI is loading for me but I keep getting a "Couldn't connect to Prefect Server at *https://localhost:4200/graphql*" error.
k

Kevin Kho

01/26/2022, 9:23 PM
I havent tried this but are you using the same versions as him?
c

Carlos Cueto

01/26/2022, 9:24 PM
Yeah. Same version as the github. I haven't really modified anything since I'm just starting out/testing.
k

Kevin Kho

01/26/2022, 9:25 PM
I feel like other people have successfully. Let’s see if @flavienbwk chimes in
It sounds like though there may have been something that didnt spin up properly. Could you check the health of your containers?
c

Carlos Cueto

01/26/2022, 9:27 PM
All the containers spin up successfully, it seems to me like it's a connection issue from the UI to the Apollo container URL that is the problem.
k

Kevin Kho

01/26/2022, 9:28 PM
Is the UI from the same machine or are you connecting from another machine?
c

Carlos Cueto

01/26/2022, 9:30 PM
It's all in the same Azure Web App instance.
All from the same docker-compose
BTW this is the error I get.
I think it has something to do with this section of the docker-compose yml: