You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
0bb2ea7963
* Now we avoid using localusers and use a DockerSpawner directy * There is an option to select other oauthenticator classes |
7 years ago | |
---|---|---|
ssl | 8 years ago | |
.dockerignore | 7 years ago | |
.gitignore | 7 years ago | |
Dockerfile | 7 years ago | |
Makefile | 7 years ago | |
README.md | 8 years ago | |
VERSION | 7 years ago | |
env | 8 years ago | |
jupyterhub_config.py | 7 years ago |
README.md
OAuthenticator
Example of running JupyterHub with GitHub OAuth for authentication.
setup
Edit the file called userlist
to include one GitHub user name per line.
If that user should be an admin (you!), add admin
after a space.
For example:
mal admin
zoe admin
wash
inara admin
kaylee
jayne
simon
river
build
Build the container with:
docker build -t jupyter/oauthenticator .
ssl
To run the server on HTTPS, put your ssl key and cert in ssl/ssl.key and ssl/ssl.cert.
run
Add your oauth client id, client secret, and callback URL to the env file
.
Once you have built the container, you can run it with:
docker run -it -p 8000:8000 --env-file=env jupyter/oauthenticator
Which will run the Jupyter server.