diff --git a/.docker/robolaunch/dockerfiles/devspace/Dockerfile.amd64 b/.docker/robolaunch/dockerfiles/devspace/Dockerfile.amd64 index 7ce1056..21efad7 100644 --- a/.docker/robolaunch/dockerfiles/devspace/Dockerfile.amd64 +++ b/.docker/robolaunch/dockerfiles/devspace/Dockerfile.amd64 @@ -56,12 +56,14 @@ RUN curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | -d ${FILEBROWSER_CONFIG_PATH}/filebrowser.db RUN cp ${FILEBROWSER_CONFIG_PATH}/filebrowser.db ${FILEBROWSER_CONFIG_PATH}/filebrowser-code-server.db; \ - cp ${FILEBROWSER_CONFIG_PATH}/filebrowser.db ${FILEBROWSER_CONFIG_PATH}/filebrowser-vdi.db + cp ${FILEBROWSER_CONFIG_PATH}/filebrowser.db ${FILEBROWSER_CONFIG_PATH}/filebrowser-vdi.db; \ + cp ${FILEBROWSER_CONFIG_PATH}/filebrowser.db ${FILEBROWSER_CONFIG_PATH}/filebrowser-notebook.db RUN chmod 1777 \ ${FILEBROWSER_CONFIG_PATH}/filebrowser.db \ ${FILEBROWSER_CONFIG_PATH}/filebrowser-code-server.db \ ${FILEBROWSER_CONFIG_PATH}/filebrowser-vdi.db \ + ${FILEBROWSER_CONFIG_PATH}/filebrowser-notebook.db \ /var/log/services \ /var/log/services/vdi \ ${FILEBROWSER_CONFIG_PATH}/filebrowser-config/; \ @@ -69,6 +71,7 @@ RUN chmod 1777 \ ${FILEBROWSER_CONFIG_PATH}/filebrowser.db \ ${FILEBROWSER_CONFIG_PATH}/filebrowser-code-server.db \ ${FILEBROWSER_CONFIG_PATH}/filebrowser-vdi.db \ + ${FILEBROWSER_CONFIG_PATH}/filebrowser-notebook.db \ /var/log/services \ /var/log/services/vdi/ \ ${FILEBROWSER_CONFIG_PATH}/filebrowser-config/ diff --git a/.docker/robolaunch/dockerfiles/devspace/services/notebook.conf b/.docker/robolaunch/dockerfiles/devspace/services/notebook.conf index 2c3fb9b..cf456ef 100644 --- a/.docker/robolaunch/dockerfiles/devspace/services/notebook.conf +++ b/.docker/robolaunch/dockerfiles/devspace/services/notebook.conf @@ -11,7 +11,7 @@ files=/etc/robolaunch/services/shared/*.conf /etc/robolaunch/services/custom/*.c [program:notebook] environment=HOME="/home/robolaunch",USER="robolaunch",WORKSPACES_PATH="%(ENV_WORKSPACES_PATH)s",NOTEBOOK_PORT="%(ENV_NOTEBOOK_PORT)s" -command=/usr/local/bin/jupyter notebook --ip=0.0.0.0 --port=%(ENV_NOTEBOOK_PORT)s --notebook-dir=%(ENV_WORKSPACES_PATH)s +command=/usr/local/bin/jupyter notebook --ip=0.0.0.0 --port=%(ENV_NOTEBOOK_PORT)s --ServerApp.root_dir=%(ENV_WORKSPACES_PATH)s --NotebookApp.token='' --NotebookApp.password='' stopsignal=INT stopwaitsecs=5 autorestart=true