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

38 user(s) are online (4 user(s) are browsing xpwiki)

Members: 0
Guests: 38

more...

Access Counter

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