Created
December 22, 2020 05:17
-
-
Save ronaldsuwandi/8c4362d223d16d68d7369df2ffd5f185 to your computer and use it in GitHub Desktop.
Docker Compose for Jupyter Lab/Notebook (no token/password)
This file contains 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: | |
jupyter: | |
image: jupyter/scipy-notebook | |
ports: | |
- "8888:8888" | |
volumes: | |
- ./notebooks:/home/jovyan/ | |
environment: | |
JUPYTER_ENABLE_LAB: "yes" | |
command: "start-notebook.sh --NotebookApp.token='' --NotebookApp.password=''" |
very helpful! thanks!
thanks, but don't work for me...
@sanchesfranklin what do you mean by doesn't work? did you do docker compose start
command?
Then.. how to use custom password ?
version: "3.9"
services:
jupyter:
image: jupyter/scipy-notebook
ports:
- "8888:8888"
# volumes:
# - ./notebooks:/home/jovyan/
environment:
JUPYTER_ENABLE_LAB: "yes"
command: "start-notebook.sh --NotebookApp.token='Ridwan_Ganteng"
Thank you! This was helpful!
the whole idea for this docker-compose is to get rid of the password though 😆
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, this was annoying