update jupyter

This commit is contained in:
kev 2016-05-27 14:34:08 +08:00
parent e82acf79ec
commit f5b8d654ee
2 changed files with 29 additions and 2 deletions

View File

@ -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
```

View File

@ -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