hi there - I’m trying to get prefect server (which I have running on Nomad in a configuration that I essentially translated from the docker-compose file) to do two things:
1. return the correct URL for a flow that I’ve registered
2. return the correct URL for a flow that the
slack_notifier
function posts a status update for
presumably these 2 things are related.
I tried following this ticket and setting the
PREFECT__SERVER__UI__ENDPOINT
env var in the environment where the UI container runs. I believe that is what is implied by:
Copy code
[server]
[server.ui]
endpoint = "..."
In the ticket.
But that didn’t correct the issue. Do I need to set this env var in a different component - the graphql component perhaps?
I’m basically injecting all configuration into each individual docker container using env variables.
I actually don’t need to do that, now that I’m thinking about - I could give each container the same
config.toml
file pretty easily which might obviate this problem
k
Kevin Kho
09/28/2021, 9:57 PM
Oh that does sound pretty straightforward I think. I think the registration. Here is the function that creates the URL, so it is
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.