Skip to content

Commit

Permalink
chore(images): remove token & password auth from notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
tunahanertekin committed Jan 2, 2024
1 parent 517a2f3 commit b86fc39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .docker/robolaunch/dockerfiles/devspace/Dockerfile.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,22 @@ 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/; \
chown $USERNAME \
${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/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b86fc39

Please sign in to comment.