jupyterhub-deploy-docker
jupyterhub-deploy-docker copied to clipboard
adding another route to the spawned user container
For my use case, I need to install and launch a tomcat server inside the notebook container. This server will interact with the notebook server via a notebook widget. I need to install this tomcat server inside the container to access the user's workdir data. The connection process from a notebook to the tomcat server (via a widget) adds and execute a javascript on the client side, so that the url given starts from the client (not from the notebook server). So I need to access the current user container to initialize my tomcat application. So here is my question: I would like to know if there is a way to add a route at user container spawning time, in the same time jupyterhub creates the https://myserver/user/username route to the user notebook ? for example: https://myserver/user/username goes through 443--jupyterhub--8888--user-container:notebookserver and in the same time https://myserver/user/username/tomcatserver through 443--jupyterhub--8443--user-container:tomcatserver
