mirror of
https://github.com/balkian/lab-in-a-box.git
synced 2024-11-21 14:42:29 +00:00
656 B
656 B
This deployment contains a single jupyterhub service, with the docker spawner and GitHub Oauth authentication.
Every user will get an isolated docker container after authenticating with GitHub.
The image for that container is configurable through the DOCKER_IMAGE
environment variable.
Instructions
Before running docker compose, you need to create a GitHub application: https://developer.github.com/apps/building-github-apps/creating-a-github-app/
Add the client ID and client secret to your .env
file, or to your environment.
Example .env file
DOMAIN=todevnull.com
GITHUB_CLIENT_ID=<CLIENT ID>
GITHUB_CLIENT_SECRET=<CLIENT_SECRET>