Skip to content

Instantly share code, notes, and snippets.

@ozcanyarimdunya
Created November 8, 2020 11:52
Show Gist options
  • Save ozcanyarimdunya/f7aba8c69ae609488e36d019cdaff922 to your computer and use it in GitHub Desktop.
Save ozcanyarimdunya/f7aba8c69ae609488e36d019cdaff922 to your computer and use it in GitHub Desktop.
Run jupyter lab as docker service
version: '3'
services:
jupyter:
image: 'jupyter/datascience-notebook:latest'
ports:
- '10000:8888'
volumes:
- jupyter_datascientist:/home/jovyan/work
container_name: jupyter
environment:
JUPYTER_ENABLE_LAB: 'yes'
volumes:
jupyter_datascientist:
@ozcanyarimdunya
Copy link
Author

version: '3'

services:
  jupyter:
    image: 'jupyter/datascience-notebook:latest'
    ports:
      - '8888:8888'
    volumes:
      - dt:/home/jovyan/work
    container_name: jupyter
    environment:
      JUPYTER_ENABLE_LAB: 'yes'

volumes:
  dt:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment