flagflag  
1: 2020-08-21 (Fri) 16:55:18 iseki source Cur: 2020-08-21 (Fri) 17:00:29 iseki source
Line 1: Line 1:
-*** DockerSpawner​ 用 サンプル jupyterhub_config.py [#w55e5dcb]+*** SwarmSpawner​ 用 サンプル jupyterhub_config.py [#f2a38cbc] 
 + version: "3" 
 + services: 
 +   proxy: 
 +     env_file: .env 
 +     image: jupyterhub/configurable-http-proxy:3.1.1​ 
 +     networks: 
 +       - jupyterhub-net 
 +     # expose the proxy to the world 
 +     ports: 
 +       - "80:8000" 
 +     command: 
 +       - configurable-http-proxy 
 +       - '--error-target' 
 +       - 'http://hub/hub/error' 
 +  
 +   hub: 
 +     # build an image with SwarmSpawner and our jupyterhub_config.py 
 +     env_file: .env 
 +     build: 
 +       context: "../.." 
 +       dockerfile: "examples/swarm/Dockerfile" 
 +     # mount the docker socket 
 +     volumes: 
 +       - "/var/run/docker.sock:/var/run/docker.soc​k" 
 +     networks: 
 +       - jupyterhub-net 
 + networks: 
 +   jupyterhub-net: 
 +     driver: overlay 
 +#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

71 user(s) are online (7 user(s) are browsing xpwiki)

Members: 0
Guests: 71

more...

Access Counter

Today : 3243324332433243
Yesterday : 1265612656126561265612656
Total : 2352867423528674235286742352867423528674235286742352867423528674
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com