flagflag  
1: 2020-08-21 (Fri) 16:57:07 iseki source Cur: 2020-08-21 (Fri) 17:01:22 iseki source
Line 1: Line 1:
*** SwarmSpawner​ 用 サンプル jupyterhub_config.py [#t34f061a] *** SwarmSpawner​ 用 サンプル jupyterhub_config.py [#t34f061a]
 + # The proxy is in another container
 + c.ConfigurableHTTPProxy.should_star​t = False
 + c.ConfigurableHTTPProxy.api_url = 'http://proxy:8001'
 + # tell the hub to use Dummy Auth (for testing)
 + c.JupyterHub.authenticator_class = 'dummyauthenticator.DummyAuthenticator'
 + # use SwarmSpawner
 + c.JupyterHub.spawner_class = 'dockerspawner.SwarmSpawner'
 + # The Hub should listen on all interfaces,
 + # so user servers can connect
 + c.JupyterHub.hub_ip = '0.0.0.0'
 + # this is the name of the 'service' in docker-compose.yml
 + c.JupyterHub.hub_connect_ip = 'hub'
 + # this is the network name for jupyterhub in docker-compose.yml
 + # with a leading 'swarm_' that docker-compose adds
 + c.SwarmSpawner.network_name = 'swarm_jupyterhub-net'
 + 
 + # start jupyterlab
 + #c.Spawner.cmd = ["jupyter", "labhub"]
 + c.Spawner.cmd = ["jupyterhub-singleuser"]
 + c.Spawner.default_url = '/lab'
 + 
 + # debug-logging for testing
 + import logging
 + c.JupyterHub.log_level = logging.DEBUG
 +#br


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

70 user(s) are online (12 user(s) are browsing xpwiki)

Members: 0
Guests: 70

more...

Access Counter

Today : 1386138613861386
Yesterday : 8599859985998599
Total : 2364839223648392236483922364839223648392236483922364839223648392
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com