This is a Dockerized JupyterHub deployment.
- Containerized single user Jupyter servers, using DockerSpawner
- Some form of authentication e.g. PAM or LDAP (currently only Dummy authentication though)
- User data persistence
- HTTP(S) proxy based on Traefik
The following changes might be necessary to get this running in your environment:
- In
.env
, set the variableHOST
to the name of the server you intend to host your deployment on. - In
reverse-proxy/traefik.toml
, uncomment thehttps
section and edit the paths incertFile
andkeyFile
and point them to your own TLS certificates. Possibly edit thevolumes
section in thereverse-proxy
service indocker-compose.yml
. - In
jupyterhub/jupyterhub_config.py
, edit the "Authenticator" section according to your institution authentication server. Maybe read here. - Edit
jupyterlab/Dockerfile
to include the software you like. Changejupyterhub/jupyterhub_config.py
accordingly, in particular the "user data persistence" section.
Build and launch the application with:
docker-compose build
docker-compose up -d
- The Traefik Dashboard runs at: http://localhost:8282/dashboard/
- Jupyterhub runs at: http://localhost/hub/login (https is not configured)
This repository is adapted from the implementation by the Université de Versailles. The deployment process is described in this blog post.