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 - ./nbgrader_config.py:/srv/jupyterhub/nbgrader/nbgrader_config.py:ro - ../nbgrader/exchange:/srv/nbgrader/exchange - ../nbgrader/courses:/srv/nbgrader/courses # 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 hi'] datasciene: image: jupyter/datasciene-notebook:latest entrypoint: ['echo hi']