jupyter-server-proxy
jupyter-server-proxy copied to clipboard
Proxying with same URL as baseurl for all users
I am trying to run the weights and biases server, which runs under docker, and it seems to expose a problem i am having making jupyterhub the interface into a cluster of gpu machines. Basically, the backend weights and biases server probably needs a baseurl setting to work properly, fince the jupyter-server-proxy rewrites the URL. But there is only one instance of this server I run, and if I am passing the server a baseurl, I cant pass it a different one for each user.
In other words, for a server shared by multiple users but needing a incoming path configuration, what do I do. I couldnt find any docs, so if this is possible and someone can show me the way, I'd love to put in a documentation pull request ...
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
This is a bit vague for me to think clearly about as I'm not understanding your situation and the needs you have of this project in your situation. I think though that if you are using jupyter-server-proxy to start some process and you want to inform that process of a base url, you can maybe (depending on the process you start) providing configuration ahead of time or by using a command that includes {base_url}
that will expand to something of relevance.
Related documentation is here: https://jupyter-server-proxy.readthedocs.io/en/latest/server-process.html#command
In other words, for a server shared by multiple users but needing a incoming path configuration, what do I do.
Hmm hmmm I think I don't understand the situation well enough, and my response won't help you. But I also suspect its out of scope to help you in this forum focused on developing this software. Can you post a request for help in discourse.jupyter.org instead perhaps?