How jupyterhub/jupyterhub-deploy-docker works
This repository is a single-host reference deployment of JupyterHub in Docker, intended for demos and small teams or classes. Users access the Hub, sign up through Native Authenticator, and start single-user Notebook servers through DockerSpawner. The deployment also persists Hub state and user notebook directories in Docker volumes. The graph focuses on these runtime responsibilities; the CI token configuration is not part of the product workflow. Relationships for documented but unsampled deployment details cite the README.
Main entry points: jupyterhub_config.py JupyterHub · docker-compose.yml Compose deployment
Components 10
Host deployment
- Compose deployment
basic-example/docker-compose.yml - Docker host
- Notebook image
basic-example/jupyterhub_config.py
Hub services
- JupyterHub
basic-example/jupyterhub_config.py - Native Authenticator
basic-example/jupyterhub_config.py - DockerSpawner
basic-example/jupyterhub_config.py - Notebook servers
basic-example/jupyterhub_config.py
Persistent data
- Hub data volume
basic-example/jupyterhub_config.py - User notebook volumes
basic-example/jupyterhub_config.py
Other components
- User
Connections 10
- User → JupyterHub: accesses
README.md - Compose deployment → Docker host: runs on
README.md - JupyterHub → Native Authenticator: authenticates with
basic-example/jupyterhub_config.py - JupyterHub → DockerSpawner: dispatches to
basic-example/jupyterhub_config.py - DockerSpawner → Notebook servers: spawns
README.md - DockerSpawner → Notebook image: uses
basic-example/jupyterhub_config.py - DockerSpawner → User notebook volumes: mounts
basic-example/jupyterhub_config.py - JupyterHub → Hub data volume: persists state
basic-example/jupyterhub_config.py - Docker host → Hub data volume: provides volume
README.md - Docker host → User notebook volumes: provides volumes
README.md