permissions.

This commit is contained in:
Michael Pilosov 2019-01-03 04:53:17 +00:00
parent 5b0d688437
commit 37f78caac4
21 changed files with 6 additions and 3 deletions

0
.dockerignore Normal file → Executable file
View File

0
.env Normal file → Executable file
View File

0
.gitignore vendored Normal file → Executable file
View File

0
CONTRIBUTING.md Normal file → Executable file
View File

2
Dockerfile.jupyterhub Normal file → Executable file
View File

@ -10,6 +10,8 @@ RUN /opt/conda/bin/conda install -yq psycopg2=2.7 && \
oauthenticator==0.8.* \
dockerspawner==0.9.*
# Copy TLS certificate and key
#ENV SSL_CERT /srv/jupyterhub/secrets/jupyterhub.crt
#ENV SSL_KEY /srv/jupyterhub/secrets/jupyterhub.key

0
LICENSE Normal file → Executable file
View File

0
Makefile Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

0
docker-compose.yml Normal file → Executable file
View File

0
docs/docker-machine.md Normal file → Executable file
View File

0
docs/oauth-form.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 244 KiB

After

Width:  |  Height:  |  Size: 244 KiB

0
examples/custom-notebook-server/Dockerfile Normal file → Executable file
View File

0
examples/custom-notebook-server/README.md Normal file → Executable file
View File

0
examples/jupyterlab/Dockerfile Normal file → Executable file
View File

0
examples/jupyterlab/README.md Normal file → Executable file
View File

0
examples/letsencrypt/README.md Normal file → Executable file
View File

0
examples/letsencrypt/docker-compose.yml Normal file → Executable file
View File

0
internal/jupyterhub-docker.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 90 KiB

7
jupyterhub_config.py Normal file → Executable file
View File

@ -13,7 +13,8 @@ c = get_config()
# Spawn single-user servers as Docker containers
c.JupyterHub.spawner_class = 'dockerspawner.DockerSpawner'
# Spawn containers from this image
c.DockerSpawner.container_image = os.environ['DOCKER_NOTEBOOK_IMAGE']
# c.DockerSpawner.container_image = os.environ['DOCKER_NOTEBOOK_IMAGE']
c.DockerSpawner.container_image = "jupyter/scipy-notebook"
# JupyterHub requires a single-user instance of the Notebook server, so we
# default to using the `start-singleuser.sh` script included in the
# jupyter/docker-stacks *-notebook images as the Docker run command when
@ -37,8 +38,8 @@ c.DockerSpawner.notebook_dir = notebook_dir
# notebook directory in the container
# c.DockerSpawner.volumes = { 'jupyterhub-user-{username}': notebook_dir }
c.DockerSpawner.volumes = { 'jupyterhub-user-{username}': notebook_dir, # this connects volumes
'/home/michael/repos/packages':'/home/jovyan/work/shared' }
c.DockerSpawner.volumes = { 'jupyterhub-user-{username}': notebook_dir,
'/home/michael/repos/':'/home/jovyan/work/shared/' }
# volume_driver is no longer a keyword argument to create_container()
# c.DockerSpawner.extra_create_kwargs.update({ 'volume_driver': 'local' })

0
singleuser/Dockerfile Normal file → Executable file
View File

0
traefik.toml Normal file → Executable file
View File