-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
78 lines (71 loc) · 1.53 KB
/
docker-compose.yml
File metadata and controls
78 lines (71 loc) · 1.53 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
version: "3"
services:
jupyter-notebook:
hostname: jupyter-notebook
container_name: jupyter-notebook
image: dimajix/jupyter-spark:latest
command: notebook
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}
expose:
- 8888
ports:
- 8888:8888
spark-master:
hostname: spark-master
container_name: jupyter-spark-master
image: dimajix/jupyter-spark:latest
command: master
env_file:
- docker-compose.env
environment:
- http_proxy=${http_proxy}
- https_proxy=${https_proxy}
expose:
- 6066
- 7077
- 9090
ports:
- 6066:6066
- 7077:7077
- 9090:9090
spark-slave-1:
hostname: spark-slave-1
container_name: jupyter-spark-slave-1
image: dimajix/jupyter-spark:latest
command: slave
env_file:
- docker-compose.env
environment:
- http_proxy=${http_proxy}
- https_proxy=${https_proxy}
expose:
- 9090
ports:
- 9091:9090
spark-slave-2:
hostname: spark-slave-2
container_name: jupyter-spark-slave-2
image: dimajix/jupyter-spark:latest
command: slave
env_file:
- docker-compose.env
environment:
- http_proxy=${http_proxy}
- https_proxy=${https_proxy}
expose:
- 9090
ports:
- 9092:9090
networks:
default:
external:
name: dimajix