Hi everyone Is there a setting to configure the UI...
# ask-community
d
Hi everyone Is there a setting to configure the UI to use the same
host:port
to reach out to the API ? For me the UI is always trying to connect to
127.0.0.1:4200
I saw that there is a setting to set a different value but in my case the port is dynamically allocated by docker compose so I don't have a good way to set an environment variable. more information in the ๐Ÿงต
You might wonder, why are we using a dynamic port ? ๐Ÿ™‚ this is because it's running as part of our test environment, in most cases we don't need to connect to the UI at all but in some cases when a test is failing it would be interesting to access the UI for troubleshooting
j
Use prefect profiles for each port (or edit the same profile each time the port changes) see:
prefect profile --help
and
prefect config --help