File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed 
base/scripts/usr/local/bin/before-notebook.d Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ their copyrights and license statements are listed below.
2626
2727--------------------------------------------------------------------------------
2828base/conf/jupyter/etc/jupyter/jupyter_server_config.py
29+ base/scripts/usr/local/bin/before-notebook.d/71-tensorboard.sh
2930base/scripts/usr/local/bin/run-hooks.sh
3031base/scripts/usr/local/bin/start-notebook.sh
3132base/scripts/usr/local/bin/start-singleuser.sh
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ The following startup hooks are put in place:
3636  to create user's projects and workspaces folder.
3737*  [ /usr/local/bin/before-notebook.d/30-code-server.sh] ( base/scripts/usr/local/bin/before-notebook.d/30-code-server.sh ) 
3838  to update code-server settings.
39+ *  [ /usr/local/bin/before-notebook.d/71-tensorboard.sh] ( base/scripts/usr/local/bin/before-notebook.d/71-tensorboard.sh ) 
40+   to use Jupyter Server Proxy for TensorBoard.
3941*  [ /usr/local/bin/before-notebook.d/90-limits.sh] ( base/scripts/usr/local/bin/before-notebook.d/90-limits.sh ) 
4042  *  * soft*  limit the * address space*  based on the amount of * physical*  and
4143    * virtual memory*  of the host. (default: command ` ulimit -v ` )
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #  Copyright (c) Jupyter Development Team.
3+ #  Distributed under the terms of the Modified BSD License.
4+ 
5+ set  -e
6+ 
7+ #  Initialize the TENSORBOARD_PROXY_URL with the appropriate path
8+ #  to use jupyter-server-proxy.
9+ 
10+ export  TENSORBOARD_PROXY_URL=" ${JUPYTERHUB_SERVICE_PREFIX:-/ } proxy/%PORT%/" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments