Last active
May 3, 2020 17:29
-
-
Save romech/9c856269e5275e4246fd6b3667877db5 to your computer and use it in GitHub Desktop.
Spark + Zeppelin with Docker Compose
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' | |
services: | |
zeppelin: | |
build: . | |
container_name: zeppelin | |
ports: | |
- 8080:8080 | |
volumes: | |
- ./data:/zeppelin/data | |
- ./notebook:/zeppelin/notebook | |
- ./logs:/zeppelin/logs |
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
FROM apache/zeppelin:0.8.1 | |
RUN wget https://apache-mirror.rbc.ru/pub/apache/spark/spark-2.4.5/spark-2.4.5-bin-hadoop2.7.tgz \ | |
&& tar -xzf spark-2.4.5-bin-hadoop2.7.tgz \ | |
&& mv spark-2.4.5-bin-hadoop2.7 /opt/spark | |
ENV SPARK_HOME=/opt/spark | |
EXPOSE 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment