mljar / mercury

Convert Jupyter Notebooks to Web Apps
https://RunMercury.com
GNU Affero General Public License v3.0
3.87k stars 243 forks source link

Allow for a custom task server URL #435

Open kapily opened 4 months ago

kapily commented 4 months ago

When running in docker, I'm having to provide two different URLs - one 127.0.0.1:$PORT and localhost:$PORT Currently, it's not possible for me to provide two different URLs.

Could we either incorporate this change or provide another mechanism to have a different URL for the task server?

pplonski commented 4 months ago

Hi @kapily,

What is task server? Could you please provide more information about your use case?

kapily commented 3 months ago

Basically the current behavior seems to be to take the URL of the referrer and then use that to add to the task queue. When running this on a webserver in docker, the server is attempting to push to a webaddress instead of localhost. That's why I wanted to be able to explicitly have a task server url