Files
jupyter/jupyterhub/compose.yml

25 lines
657 B
YAML

services:
jupyterhub:
build: .
container_name: jupyterhub
restart: unless-stopped
ports:
- 8000:8000
environment:
- JUPYTERHUB_LOG_LEVEL=DEBUG
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./templates:/srv/jupyterhub/templates:ro
- ./jupyterhub_config.py:/srv/jupyterhub/jupyterhub_config.py
# Just the Hacky way to pull images at startup
# It just pulls the image but they wont startup
# speeds up first spawn dramatically
base:
image: jupyter/base-notebook:latest
entrypoint: ['echo']
datasciene:
image: jupyter/datascience-notebook:latest
entrypoint: ['echo']