Commit e2c4d467 authored by CAMPION Sebastien's avatar CAMPION Sebastien

nbgitpuller installed

parent 1fb233f4
......@@ -102,6 +102,28 @@ services:
networks: [dev]
# JUPYTER HUB
######################################################################################################################
dev-jupyterhub:
container_name: dev-jupyterhub
build: jupyterhub
ports:
- "8000:8000"
volumes:
- "./certs:/certs"
environment:
JUPYTERHUB_LOG_LEVEL: "debug"
JUPYTERHUB_HTTP_TLS_CERTIFICATE: "/certs/server.crt"
JUPYTERHUB_HTTP_TLS_KEY: "/certs/server.key"
JUPYTERHUB_AUTH: "token"
JUPYTERHUB_AUTH_TOKEN_REALM: "http://0.0.0.0:8008/tokens"
JUPYTERHUB_AUTH_TOKEN_SERVICE: "allgo_registry"
JUPYTERHUB_AUTH_TOKEN_ISSUER: "allgo_oauth"
JUPYTERHUB_AUTH_TOKEN_ROOTCERTBUNDLE: "/certs/server.crt"
networks: [dev]
# SSH
######################################################################################################################
......
FROM sebastiencampion/jupyterhub
RUN pip install git+https://github.com/data-8/nbgitpuller
RUN pip install jupyterhub-jwtauthenticator
RUN jupyter serverextension enable --py nbgitpuller --sys-prefix
RUN useradd -ms /bin/bash seb
RUN echo 'seb:seb' | chpasswd
RUN apt-get install git
CMD ["jupyterhub"]
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment