From f5b8d654eef0b996d559cc1af8f48f93224a8774 Mon Sep 17 00:00:00 2001 From: kev Date: Fri, 27 May 2016 14:34:08 +0800 Subject: [PATCH] update jupyter --- jupyter/README.md | 23 +++++++++++++++++++++++ jupyter/docker-compose.yml | 8 ++++++-- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/jupyter/README.md b/jupyter/README.md index c1943b1..52559ab 100644 --- a/jupyter/README.md +++ b/jupyter/README.md @@ -1,2 +1,25 @@ jupyter ======= + +Minimal Jupyter Notebook Stack + +## docker-compose.yml + +```yaml +notebook: + image: jupyter/minimal-notebook + ports: + - "8888:8888" + volumes: + - ./work:/home/jovyan/work + restart: unless-stopped +``` + +## up and running + +``` +cd ~/fig/jupyter/ +mkdir work +chown 1000:1000 work +docker-compose up -d +``` diff --git a/jupyter/docker-compose.yml b/jupyter/docker-compose.yml index 7859bd9..ca6ecce 100644 --- a/jupyter/docker-compose.yml +++ b/jupyter/docker-compose.yml @@ -1,7 +1,11 @@ notebook: - image: jupyter/notebook + image: jupyter/minimal-notebook ports: - "8888:8888" volumes: - - ./notebooks:/notebooks + - ./work:/home/jovyan/work +# - ./notebook.pem:/home/jovyan/.local/share/jupyter/notebook.pem +# environment: +# - PASSWORD=YOURPASS +# - USE_HTTPS=yes restart: unless-stopped