-
-
Notifications
You must be signed in to change notification settings - Fork 196
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (54 loc) · 1.38 KB
/
docker-compose.yml
File metadata and controls
54 lines (54 loc) · 1.38 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
---
# ----------------------------------------------------------------------------------------
# -- Docs: https://github.com/cluster-apps-on-docker/spark-standalone-cluster-on-docker --
# ----------------------------------------------------------------------------------------
volumes:
shared-workspace:
name: "hadoop-distributed-file-system"
driver: local
services:
jupyterlab:
pull_policy: never
image: jupyterlab:4.4.10-spark-3.5.7
container_name: jupyterlab
ports:
- "8888:8888"
- "4040:4040"
volumes:
- shared-workspace:/opt/workspace
spark-master:
pull_policy: never
image: spark-master:3.5.7
container_name: spark-master
ports:
- "8080:8080"
- "7077:7077"
volumes:
- shared-workspace:/opt/workspace
spark-worker-1:
pull_policy: never
image: spark-worker:3.5.7
container_name: spark-worker-1
environment:
- SPARK_WORKER_CORES=1
- SPARK_WORKER_MEMORY=512m
ports:
- "8081:8081"
volumes:
- shared-workspace:/opt/workspace
depends_on:
- spark-master
spark-worker-2:
pull_policy: never
image: spark-worker:3.5.7
container_name: spark-worker-2
environment:
- SPARK_WORKER_CORES=1
- SPARK_WORKER_MEMORY=512m
ports:
- "8082:8081"
volumes:
- shared-workspace:/opt/workspace
depends_on:
- spark-master
...