mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
update jupyter
This commit is contained in:
parent
e82acf79ec
commit
f5b8d654ee
@ -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
|
||||
```
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user