Pedro Machado
05/24/2020, 12:22 AMprefect server start
Pulling postgres ... done
Pulling hasura ... done
Pulling graphql ... done
Pulling apollo ... done
Pulling scheduler ... done
Pulling ui ... done
Creating network "prefect-server" with the default driver
Creating tmp_postgres_1 ... error
ERROR: for tmp_postgres_1 Cannot create container for service postgres: invalid IP address in add-host: ""
ERROR: for postgres Cannot create container for service postgres: invalid IP address in add-host: ""
ERROR: Encountered errors while bringing up the project.
Any ideas? How can I see the docker compose logs?Rafal
05/24/2020, 9:02 AMLaura Lorenz (she/her)
05/26/2020, 3:59 AMprefect server start
is this docker compose file in src/prefect/cli/docker-compose (https://github.com/PrefectHQ/prefect/blob/master/src/prefect/cli/docker-compose.yml) — which you can also use directly and/or copy if you want to make amends! Let me know if you get more logs @Pedro Machado, I haven’t seen that particular error beforePedro Machado
05/26/2020, 6:56 AMprefect server start
Laura Lorenz (she/her)
05/26/2020, 1:54 PMprefect server start
anymore, but instead use the docker compose CLI itself so you can put the file wherever you want. You might be interested in the python file that controls prefect server start
to see what it does, which is mostly some configuration merging and then it calls docker-compose under the hood anyways: https://github.com/PrefectHQ/prefect/blob/master/src/prefect/cli/server.pyRafal
05/27/2020, 7:38 PMPedro Machado
05/29/2020, 2:50 PMLaura Lorenz (she/her)
05/29/2020, 3:39 PMprefecthq/server:latest
?) or did you build your own or are using different ones?Rafal
06/08/2020, 2:49 PM