flagflag  If you want to see English page, please click "English" Button at Left.

SwarmSpawner​ 用 サンプル jupyterhub_config.py anchor.png

# The proxy is in another container
c.ConfigurableHTTPProxy.should_start = 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
 

トップ   凍結 差分 バックアップ 複製 名前変更 リロード   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom
Counter: 862, today: 1, yesterday: 1
最終更新: 2020-08-21 (金) 17:01:22 (JST) (1911d) by iseki

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2025年 11月翌月
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
<今日>

アクセスカウンタ

今日 : 113663113663113663113663113663113663
昨日 : 106423106423106423106423106423106423
総計 : 3543054935430549354305493543054935430549354305493543054935430549
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com