Skip to content
Snippets Groups Projects
Commit f700eb66 authored by calrama's avatar calrama
Browse files

[jupyterhub] Allow persistent user settings and workspaces via /data/home

parent ece23e49
No related branches found
No related tags found
No related merge requests found
Pipeline #31439 passed
...@@ -71,8 +71,8 @@ RUN mkdir -p ~/.venv && \ ...@@ -71,8 +71,8 @@ RUN mkdir -p ~/.venv && \
ipython kernel install --user --name=robofish ipython kernel install --user --name=robofish
COPY jupyter_notebook_config.py /root/.jupyter/ COPY jupyter_notebook_config.py /root/.jupyter/
COPY themes.jupyterlab-settings /root/.jupyter/lab/user-settings/@jupyterlab/apputils-extension/ ENV JUPYTERLAB_SETTINGS_DIR=/data/home/.config/jupyter/lab/user-settings
COPY commands.jupyterlab-settings /root/.jupyter/lab/user-settings/@jupyterlab/codemirror-extension/ ENV JUPYTERLAB_WORKSPACES_DIR=/data/home/.config/jupyter/lab/workspaces
RUN chmod -x /etc/update-motd.d/* RUN chmod -x /etc/update-motd.d/*
RUN mkdir /data RUN mkdir /data
......
c.NotebookApp.allow_root = True c.NotebookApp.allow_root = True
c.NotebookApp.terminado_settings = { 'shell_command': ['/bin/bash', '-l'] } c.NotebookApp.terminado_settings = {"shell_command": ["/bin/bash", "-l"]}
c.MultiKernelManager.default_kernel_name = 'robofish' c.MultiKernelManager.default_kernel_name = "robofish"
c.NotebookApp.notebook_dir = '/data' c.NotebookApp.notebook_dir = "/data"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment