-
Notifications
You must be signed in to change notification settings - Fork 6
Integration of Jupyter through docker-compose #1088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
longshuicy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Converting it into draft to use traefik to handle redirects to jupyterlab |
|
I see this. |
longshuicy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in both dev and prod mode:
- Redirect to jupyter lab and run notebooks ok
- Shutdown
- Logout seems to work with one caveat that it also logged out on the frontend. Need to refresh to see that reflect
- Multiple users instantiating different jupyter labs and run notebooks ok
- Note when in production, you need to build the frontend image and point the
docker-compose.yml. Otherwise it will pull the existing 2.0.0.beta.2 image from docker.io
|
@Vismayak I still cannot run it on dev environment. I can run it on prod and it works fine there. @longshuicy If you have run it on both dev and prod, I think we can merge this. I may be missing some config for dev, network name. |
I use the same config but change the network name If you still can't get it run, maybe let's merge early next week? |


This PR introduces the integration of JupyterHub into our development and production environments.
Development Setup:
.env-devfile following the format in.env-example, paying special attention to theDOCKER_NETWORK_NAMEand filling inJUPYTERHUB_CRYPT_KEY.Production Setup:
.envfile as per.env-example. Ensure to addJUPYTERHUB_CRYPT_KEY./jupyterhub(defaulthttp://localhost/jupyterhub/). It requires logging into the Clowder homepage first; direct access is not allowed. Since we dont have the frontend image that has the updated sidebar, login and then access by manually entering URLNotes:
http://localhost:8765.Please ensure that your environment files are configured correctly before running the setup commands.