1: 2020-08-21 (金) 16:55:18 iseki | 現: 2020-08-21 (金) 17:00:29 iseki | ||
---|---|---|---|
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.sock" | ||
+ | networks: | ||
+ | - jupyterhub-net | ||
+ | networks: | ||
+ | jupyterhub-net: | ||
+ | driver: overlay | ||
+ | #br |
- JupyterHub/SwarmSpawner/docker-compose.yml のバックアップ一覧
- JupyterHub/SwarmSpawner/docker-compose.yml のバックアップ差分(No. All)
- 1: 2020-08-21 (金) 16:55:18 iseki
- 現: 2020-08-21 (金) 17:00:29 iseki