https://prefect.io logo
Title
a

Aaron Ash

03/10/2022, 5:05 AM
is there a way to get
prefect server create-tenant ...
to use a different apollo endpoint via environment variables or cli args? It defaults to
<http://localhost:4200/graphql>
but I'm attempting to run this in a docker-compose file and need to use a different hostname than localhost
k

Kevin Kho

03/10/2022, 5:15 AM
Yeah see this
a

Aaron Ash

03/10/2022, 5:15 AM
what would the environment variable be for that particular setting?
PREFECT_SERVER__ENDPOINT="host:4200/graphql" prefect server create-tenant ...
something like this?
k

Kevin Kho

03/10/2022, 5:17 AM
export PREFECT__SERVER__ENDPOINT=...
a

Aaron Ash

03/10/2022, 5:21 AM
Ah thanks @Kevin Kho! That works :)
👍 1