Skip to content

Commit 39b624e

Browse files
committed
Add SPARK_PUBLIC_DNS env in docker-compose
1 parent 1afb4a0 commit 39b624e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ master:
55
environment:
66
MASTER: spark://master:7077
77
SPARK_CONF_DIR: /conf
8+
SPARK_PUBLIC_DNS: localhost
89
expose:
910
- 7001
1011
- 7002
@@ -33,6 +34,7 @@ worker:
3334
SPARK_WORKER_MEMORY: 1g
3435
SPARK_WORKER_PORT: 8881
3536
SPARK_WORKER_WEBUI_PORT: 8081
37+
SPARK_PUBLIC_DNS: localhost
3638
links:
3739
- master
3840
expose:

0 commit comments

Comments
 (0)