forked from catawiki/docker-spark
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
46 lines (44 loc) · 920 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
master:
image: janschultecom/docker-spark
command: /usr/spark/bin/spark-class org.apache.spark.deploy.master.Master -h spark-master.weave.local
container_name: spark-master
hostname: spark-master.weave.local
environment:
SPARK_CONF_DIR: /conf
#SPARK_MASTER_IP: spark-master.weave.local
expose:
- 7001
- 7002
- 7003
- 7004
- 7005
- 7006
- 7077
- 6066
ports:
- 4040:4040
- 6066:6066
- 7077:7077
- 8080:8080
volumes:
- ./conf/master:/conf
volumes_from:
- logfiles
history:
image: janschultecom/docker-spark
command: /usr/spark/bin/spark-class org.apache.spark.deploy.history.HistoryServer
hostname: history
environment:
SPARK_CONF_DIR: /conf
expose:
- 18080
ports:
- 18080:18080
volumes:
- ./conf/history:/conf
volumes_from:
- logfiles
logfiles:
image: ubuntu:14.04
volumes:
- /tmp/spark-events