https://github.com/jupyterhub/jupyterhub-deploy-docker
mount jupyterhub_config.py as volume
install:
dockerspawner
jupyterhub-idle-culler
PyJWT
pyyaml
oauthenticator
nativeauthenticator (modified template to allow github/google )
customize user images as defined in config.yaml (sample in singleuser/srv/setup)
MyDockerSpawner: mounts volumes according to user config
MultiOAuthenticator: native, github, google
c.JupyterHub.base_url = '/jhub/'
runs as a separated docker sharing the network. This way shutting down the hub doesn't close clients
see ./proxy
make build
diverse images in singleuser/Dockerfile-xxx
in singleuser/srv:
- jupyter-rserver_proxy (RStudio)
- jupyter_codeserver_proxy (Code Server)
- jupyter_deepzoom_proxy (openslide python)
- jupyter_tensorboard_proxy (tensorboard)
- jupyter_openrefine_proxy (openrefine)
- jupyter-logout (logout/comntrol/resources)
- jupyter_labelimg_proxy (labelimg)
make image?
docker-compose up -d