Created
February 19, 2022 23:35
-
-
Save VictorGob/c750d5bf212b4a04e46cd2130310a04f to your computer and use it in GitHub Desktop.
Jupyter docker with data persistence
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.9" | |
services: | |
# From https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html#core-stacks | |
jupyterlab: | |
image: jupyter/base-notebook | |
container_name: jupyter | |
user: root | |
ports: | |
- "8888:8888" | |
environment: | |
- JUPYTER_ENABLE_LAB=yes | |
- CHOWN_HOME=yes | |
- CHOWN_HOME_OPTS=-R | |
volumes: | |
- ./jupyter_data:/home/jovyan/work | |
restart: "no" | |
volumes: | |
jupyterlab: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment