diff --git a/jupyterhub.yml b/jupyterhub.yml index f624554..8c75186 100644 --- a/jupyterhub.yml +++ b/jupyterhub.yml @@ -1,27 +1,28 @@ version: "3.6" services: jupyterlab: networks: - proxy_jupyter image: jupyterhub:latest 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/users && 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