You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-09-16 09:16:45 +02:00
update jupyter
This commit is contained in:
@@ -1,2 +1,25 @@
|
|||||||
jupyter
|
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:
|
notebook:
|
||||||
image: jupyter/notebook
|
image: jupyter/minimal-notebook
|
||||||
ports:
|
ports:
|
||||||
- "8888:8888"
|
- "8888:8888"
|
||||||
volumes:
|
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
|
restart: unless-stopped
|
||||||
|
Reference in New Issue
Block a user