1
0
mirror of https://github.com/balkian/lab-in-a-box.git synced 2024-12-21 12:28:12 +00:00
lab-in-a-box/github
J. Fernando Sánchez 3f287c88b3 First commit
2018-05-21 19:24:44 +02:00
..
docker-compose.yml First commit 2018-05-21 19:24:44 +02:00
README.md First commit 2018-05-21 19:24:44 +02:00

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>