Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Docker stack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JupyterLab
Python
Docker stack
Commits
8097db73
Verified
Commit
8097db73
authored
7 months ago
by
Olivier Benz
Browse files
Options
Downloads
Patches
Plain Diff
Use Jupyter Server Proxy for TensorBoard
-
https://github.com/jupyter/docker-stacks/pull/2126
parent
12ee1636
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
LICENSE
+1
-0
1 addition, 0 deletions
LICENSE
NOTES.md
+2
-0
2 additions, 0 deletions
NOTES.md
base/scripts/usr/local/bin/before-notebook.d/71-tensorboard.sh
+10
-0
10 additions, 0 deletions
...scripts/usr/local/bin/before-notebook.d/71-tensorboard.sh
with
13 additions
and
0 deletions
LICENSE
+
1
−
0
View file @
8097db73
...
...
@@ -26,6 +26,7 @@ their copyrights and license statements are listed below.
--------------------------------------------------------------------------------
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/start-notebook.sh
base/scripts/usr/local/bin/start-singleuser.sh
...
...
This diff is collapsed.
Click to expand it.
NOTES.md
+
2
−
0
View file @
8097db73
...
...
@@ -36,6 +36,8 @@ The following startup hooks are put in place:
to create user's projects and workspaces folder.
*
[
/usr/local/bin/before-notebook.d/30-code-server.sh
](
base/scripts/usr/local/bin/before-notebook.d/30-code-server.sh
)
to update code-server settings.
*
[
/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
)
*
*soft*
limit the
*address space*
based on the amount of
*physical*
and
*virtual memory*
of the host. (default: command
`ulimit -v`
)
...
...
This diff is collapsed.
Click to expand it.
base/scripts/usr/local/bin/before-notebook.d/71-tensorboard.sh
0 → 100755
+
10
−
0
View file @
8097db73
#!/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%/"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment