-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (41 loc) · 877 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
46 lines (41 loc) · 877 Bytes
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
version: '3.7'
services:
spark-master:
image: michalklempa/spark:3.0.1-hadoop2.7
command: /master.sh
networks:
- spark
ports:
- target: 8080
published: 8080
protocol: tcp
mode: host
- target: 7077
published: 7077
protocol: tcp
mode: host
spark-worker-1:
image: michalklempa/spark:3.0.1-hadoop2.7
command: /worker.sh
networks:
- spark
spark-worker-2:
image: michalklempa/spark:3.0.1-hadoop2.7
command: /worker.sh
networks:
- spark
spark-worker-3:
image: michalklempa/spark:3.0.1-hadoop2.7
command: /worker.sh
networks:
- spark
# spark-driver:
# depends_on:
# - spark-master
# image: michalklempa/spark:3.0.1-hadoop2.7
# command: /submit.sh
# restart: on-failure
# networks:
# - spark
networks:
spark: