livepeer / catalyst-api

MIT License
4 stars 2 forks source link

Update hack for resolving catalyst-api url from catalyst #1361

Closed leszko closed 4 weeks ago

leszko commented 1 month ago

The catalyst node needs to have an address to the corresponding catalyst-api service. It's set with CATALYST_API_CATALYST_API_URL env variable, but to apply a new env variable we would need to restart the catalyst node, so the hack is to resolve it automatically in the code.