Skip to content
Snippets Groups Projects
Verified Commit 58701c87 authored by Olivier Benz's avatar Olivier Benz
Browse files

Use Jupyter Server Proxy for TensorBoard

parent 5cdd7058
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ their copyrights and license statements are listed below. ...@@ -26,6 +26,7 @@ their copyrights and license statements are listed below.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
base/conf/jupyter/etc/jupyter/jupyter_server_config.py base/conf/jupyter/etc/jupyter/jupyter_server_config.py
base/scripts/usr/local/bin/before-notebook.d/71-tensorboard.sh
base/scripts/usr/local/bin/run-hooks.sh base/scripts/usr/local/bin/run-hooks.sh
base/scripts/usr/local/bin/start-notebook.sh base/scripts/usr/local/bin/start-notebook.sh
base/scripts/usr/local/bin/start-singleuser.sh base/scripts/usr/local/bin/start-singleuser.sh
......
...@@ -44,6 +44,8 @@ The following startup hooks are put in place: ...@@ -44,6 +44,8 @@ The following startup hooks are put in place:
* [/usr/local/bin/before-notebook.d/70-qgis.sh](qgisprocess/scripts/usr/local/bin/before-notebook.d/70-qgis.sh) to * [/usr/local/bin/before-notebook.d/70-qgis.sh](qgisprocess/scripts/usr/local/bin/before-notebook.d/70-qgis.sh) to
* put inital QGIS settings in place. * put inital QGIS settings in place.
* copy plugin 'Processing Saga NextGen Provider'. * copy plugin 'Processing Saga NextGen Provider'.
* [/usr/local/bin/before-notebook.d/71-tensorboard.sh](base/scripts/usr/local/bin/before-notebook.d/71-tensorboard.sh)
to use Jupyter Server Proxy for TensorBoard.
* [/usr/local/bin/before-notebook.d/90-limits.sh](base/scripts/usr/local/bin/before-notebook.d/90-limits.sh) * [/usr/local/bin/before-notebook.d/90-limits.sh](base/scripts/usr/local/bin/before-notebook.d/90-limits.sh)
* *soft* limit the *address space* based on the amount of *physical* and * *soft* limit the *address space* based on the amount of *physical* and
*virtual memory* of the host. (default: command `ulimit -v`) *virtual memory* of the host. (default: command `ulimit -v`)
......
#!/bin/bash
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
set -e
# Initialize the TENSORBOARD_PROXY_URL with the appropriate path
# to use jupyter-server-proxy.
export TENSORBOARD_PROXY_URL="${JUPYTERHUB_SERVICE_PREFIX:-/}proxy/%PORT%/"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment