Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
HOSTIP=127.0.0.1
10 changes: 7 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.1"
services:

jupyter-debian:
image: edgarperezsampedro/blog_docker
image: keineahnung2345/edgarperezsampedro-blog_docker
ports:
- "8888:8888"
links:
Expand All @@ -13,6 +13,9 @@ services:
depends_on:
- spark-master
- spark-worker-1
env_file: .env
environment:
PASSWORD: ${PASSWORD}

spark-master:
image: edgarperezsampedro/spark2-ubuntu
Expand All @@ -21,7 +24,7 @@ services:
environment:
MASTER: spark://spark-master:7077
SPARK_CONF_DIR: /conf
SPARK_PUBLIC_DNS: 127.0.0.1
SPARK_PUBLIC_DNS: ${HOSTIP}
expose:
- 7001
- 7002
Expand All @@ -41,9 +44,10 @@ services:
image: edgarperezsampedro/spark2-ubuntu
command: bin/spark-class org.apache.spark.deploy.worker.Worker spark://spark-master:7077
hostname: spark-worker-1
env_file: .env
environment:
SPARK_CONF_DIR: /conf
SPARK_PUBLIC_DNS: 127.0.0.1
SPARK_PUBLIC_DNS: ${HOSTIP}
SPARK_WORKER_CORES: 2
SPARK_WORKER_MEMORY: 2g
SPARK_WORKER_PORT: 8881
Expand Down