Skip to content

Add compose.yml for Docker#4

Open
danilo-alm wants to merge 1 commit intokrishnaik06:mainfrom
danilo-alm:main
Open

Add compose.yml for Docker#4
danilo-alm wants to merge 1 commit intokrishnaik06:mainfrom
danilo-alm:main

Conversation

@danilo-alm
Copy link
Copy Markdown

Installing spark is no simple task for beginners. Adding a compose.yml for those familiarized with Docker Compose would make the job a lot easier for studying purposes.

Copilot AI review requested due to automatic review settings May 3, 2026 18:36
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a Docker Compose setup intended to make the repository’s PySpark tutorials easier to run locally, so beginners can start a Spark + Jupyter environment without installing Spark manually.

Changes:

  • Adds a compose.yml file to define a local Spark master, one Spark worker, and a Jupyter PySpark notebook service.
  • Publishes the Spark UI, Spark master, and Jupyter ports for local access.
  • Adds bind mounts intended to share tutorial files between the host and containers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread compose.yml
Comment on lines +27 to +28
volumes:
- ./notebooks:/home/jovyan/work
Comment thread compose.yml
Comment on lines +36 to +37
volumes:
- ./notebooks:/home/jovyan/work
Comment thread compose.yml
- ./notebooks:/home/jovyan/work
command: start.sh jupyter notebook --NotebookApp.token=''
environment:
- JUPYTER_ENABLE_LAB=yes
Comment thread compose.yml
- "8888:8888"
volumes:
- ./notebooks:/home/jovyan/work
command: start.sh jupyter notebook --NotebookApp.token=''
Comment thread compose.yml
- ./notebooks:/home/jovyan/work
ports:
- "8080:8080"
- "7077:7077"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants