diff --git a/spark/Dockerfile b/spark/Dockerfile index 95c9df5..421762b 100644 --- a/spark/Dockerfile +++ b/spark/Dockerfile @@ -23,8 +23,9 @@ COPY start-worker.sh /usr/local/bin/start-worker.sh ENV SPARK_HOME="$SPARK_INSTALL/spark" \ - SPARK_LOCAL_IP="127.0.0.1" \ + SPARK_LOCAL_IP="localhost" \ SPARK_MASTER_PORT="7077" \ + SPARK_MASTER="spark://$SPARK_LOCAL_IP:$SPARK_MASTER_PORT" \ SPARK_MASTER_WEBUI_PORT="8080" \ PYSPARK_PYTHON="/usr/local/bin/python3"