Newer
Older
jupyterhub / docker-compose.yml
version: '3'

services:
  jupyterhub:
    build: jupyterhub
    container_name: jupyterhub
    volumes:
      - "/var/run/docker.sock:/var/run/docker.sock"
    environment:
      - VIRTUAL_HOST=jupyter.floop.org.uk
      - VIRTUAL_PORT=8000
      - LETSENCRYPT_HOST=jupyter.floop.org.uk
      - LETSENCRYPT_EMAIL=alex@floop.org.uk
      - DOCKER_JUPYTER_IMAGE=jupyter/scipy-notebook
      - DOCKER_NETWORK_NAME=${COMPOSE_PROJECT_NAME}_default
      - HUB_IP=jupyterhub
      - OAUTH_CALLBACK_URL
      - OAUTH_CLIENT_ID
      - OAUTH_CLIENT_SECRET
    networks:
      - cloudfluff_proxy
      - default
    restart: always

  jupyterlab:
    image: jupyter/scipy-notebook
    command: echo
    networks:
      - default

networks:
  cloudfluff_proxy:
    external: true