aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docker-compose.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..8856451
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,15 @@
+version: '3'
+services:
+ datascience-notebook:
+ image: jupyter/datascience-notebook
+ volumes:
+ - ${LOCAL_WORKING_DIR}:/home/jovyan/work
+ - ${LOCAL_DATASETS}:/home/jovyan/work/datasets
+ - ${LOCAL_MODULES}:/home/jovyan/work/modules
+ - ${LOCAL_SSL_CERTS}:/etc/ssl/notebook
+ ports:
+ - ${PORT}:8888
+ container_name: jupyter_notebook
+ command: "start-notebook.sh \
+ --NotebookApp.password=${ACCESS_TOKEN} \
+ --NotebookApp.certfile=/etc/ssl/notebook/jupyter.pem"