Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@fatmali
Last active August 5, 2018 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatmali/ab4b6cf98248386f5841c85ddcb8496d to your computer and use it in GitHub Desktop.
Save fatmali/ab4b6cf98248386f5841c85ddcb8496d to your computer and use it in GitHub Desktop.
Pyspark Jupyter Docker Compose
version: '2'
services:
spark-jupyter:
image: jupyter/pyspark-notebook
command: /usr/local/bin/start-notebook.sh --NotebookApp.password='sha1:YOUR_HASHED_PASSWORD'
ports:
- 4040:4040
- 8060:8080
- 8888:8888
- 10000:10000
volumes:
- ./data:/home/jovyan/my-notebooks
- ./jars:/home/jovyan/jars/
- ./conf:/usr/local/spark/conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment