-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
92 lines (84 loc) · 1.82 KB
/
docker-compose.yml
File metadata and controls
92 lines (84 loc) · 1.82 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: "3"
services:
spark-client:
hostname: spark-client
container_name: dmx-spark-client
image: dimajix/spark:latest
build:
context: .
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
env_file:
- docker-compose.env
environment:
- http_proxy=${http_proxy}
- https_proxy=${https_proxy}
external_links:
- hadoop-namenode
- hadoop-resourcemanager
- hadoop-historyserver
spark-master:
hostname: spark-master
container_name: dmx-spark-master
image: dimajix/spark:latest
command: master
env_file:
- docker-compose.env
environment:
- http_proxy=${http_proxy}
- https_proxy=${https_proxy}
expose:
- 6066
- 7077
- 8080
ports:
- 6066:6066
- 7077:7077
- 8080:8080
spark-history:
hostname: spark-history
container_name: dmx-spark-history
image: dimajix/spark:latest
command: history-server
env_file:
- docker-compose.env
environment:
- http_proxy=${http_proxy}
- https_proxy=${https_proxy}
expose:
- 18080
ports:
- 18080:18080
spark-slave-1:
hostname: spark-slave-1
container_name: dmx-spark-slave-1
image: dimajix/spark:latest
command: slave
env_file:
- docker-compose.env
environment:
- http_proxy=${http_proxy}
- https_proxy=${https_proxy}
expose:
- 8081
ports:
- 8081:8081
spark-slave-2:
hostname: spark-slave-2
container_name: dmx-spark-slave-2
image: dimajix/spark:latest
command: slave
env_file:
- docker-compose.env
environment:
- http_proxy=${http_proxy}
- https_proxy=${https_proxy}
expose:
- 8081
ports:
- 8082:8081
networks:
default:
external:
name: dimajix