Is there a command to set config values for the CL...
# prefect-server
l
Is there a command to set config values for the CLI? Something like
Copy code
prefect config server.host="<http://blah>"
prefect config server.port="4200"
z
No, you can export environment variables
export PREFECT__SERVER__HOST="<http://blah>"
or edit a config.toml file directly.
m
isn't it
PREFECT_SERVER__HOST
?
at least in the logs it always says
ui_1       | Missing the PREFECT_SERVER__BASE_URL environment variable.  Using default
z
That's actually a bit complicated,
PREFECT__SERVER
configures Server interaction from the "prefect" library.
PREFECT_SERVER
configures Server internally / from the ui
Generally, you want the first one when you're using the prefect CLI