-
-
Save ronaldsuwandi/8c4362d223d16d68d7369df2ffd5f185 to your computer and use it in GitHub Desktop.
version: "3.9" | |
services: | |
jupyter: | |
image: quay.io/jupyter/scipy-notebook | |
ports: | |
- "8888:8888" | |
volumes: | |
- ./notebooks:/home/jovyan/ | |
environment: | |
JUPYTER_ENABLE_LAB: "yes" |
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 😆
Doesn't work on the jupyter/all-spark-notebook image?
@madhuritm which port are you using? it should be localhost:8888
localhost:8888
Hello, yes. My docker compose is like this
version: '3'
services:
jupyterlab:
image: jupyter/all-spark-notebook
ports:
- "8889:8888" # JupyterLab
volumes:
- ./data:/hdvm12/datalake # persistent storage
environment:
- JUPYTER_ENABLE_LAB=yes
spark-master:
image: bitnami/spark:latest
ports:
- "8080:8080" # Spark Web UI
- "7077:7077" # Spark master
environment:
- SPARK_MODE=master
spark-worker:
image: bitnami/spark:latest
environment:
- SPARK_MODE=worker
- SPARK_MASTER_URL=spark://spark-master:7077
volumes:
- ./data:/hdvm12/datalake
depends_on:
- spark-master
@rafaelrdealmeida your docker compose port is mapping 8889 to localhost 8888. My understanding is the default port for Jupyter is 8888. Try changing your port to both 8888
@madhuritm which port are you using? it should be
localhost:8888
Thank you for your reply. I had something configured wrong on my putty.
@rafaelrdealmeida your docker compose port is mapping 8889 to localhost 8888. My understanding is the default port for Jupyter is 8888. Try changing your port to both 8888
Thank you for your reply. It really was a default port error
Thanks, this was annoying