https://prefect.io logo
q

Q

10/27/2022, 1:40 PM
We're running an orion instance. Since orion is not using an externally hosted API,
PREFECT_API_URL
is not set (
PREFECT_ORION_UI_API_URL
is).
Copy code
printenv | grep -E "PREFECT.*API"
# PREFECT_ORION_UI_API_URL=<https://domain.tld/api>
FlowRunNotifications use
PREFECT_API_URL
as base api url and since
PREFECT_API_URL
is not set
api_url
defaults to a rather useless
<http://ephemeral-orion/api>
. I'm wondering if it would make sense to change this line to use
PREFECT_ORION_UI_API_URL
if
PREFECT_API_URL
is not set. I see that
PREFECT_ORION_UI_API_URL
defaults to
PREFECT_API_URL
, but I think if I set
PREFECT_API_URL
to a seemingly external url api calls from ui will stop being routed through loopback and that would be a whole thing.
2 Views