diff --git a/jupyterhub.yml b/jupyterhub.yml index ca2e8aa..0fc9764 100644 --- a/jupyterhub.yml +++ b/jupyterhub.yml @@ -1,28 +1,30 @@ version: "3.6" services: jupyterlab: networks: - proxy_jupyter - image: jupyterhub:latest + build: + context: ./ + dockerfile: jupyterhub.docker hostname: 'lsms-renku.epfl.ch' volumes: - jupyter_homes:/home - jupyter_config:/srv/jupyterhub - jupyter_etc:/etc/users - /etc/pki/tls/certs/:/etc/jupyterhub/ssl command: bash -c "cp -v /etc/users/passwd /etc/passwd && cp -v /etc/users/group /etc/group && jupyterhub &>> /var/log/jupyterhub.log" environment: VIRTUAL_HOST: lsms-renku.epfl.ch VIRTUAL_PORT: 8000 volumes: jupyter_homes: jupyter_config: jupyter_etc: networks: proxy_jupyter: external: true