-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
57 lines (55 loc) · 1.53 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
57 lines (55 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
services:
delta-connect-server:
image: newfrontdocker/delta-connect-playground:4.0.0
command: ["server"]
hostname: delta-connect-server
container_name: delta-connect-server
environment:
- SPARK_LOCAL_HOSTNAME=delta-connect-server
- PYSPARK_TOTAL_CORES=${PYSPARK_TOTAL_CORES:-4}
- PYSPARK_DRIVER_MEMORY=${PYSPARK_DRIVER_MEMORY:-8g}
volumes:
- ${PWD}/datasets:/opt/spark/work-dir/datasets
ports:
- "15002:15002"
- "4040:4040"
networks:
- connect
deploy:
resources:
limits:
cpus: '4'
memory: 16G
reservations:
cpus: '2'
memory: 4G
restart: unless-stopped
delta-connect-playground:
image: newfrontdocker/delta-connect-playground:4.0.0
command: ["client"]
hostname: delta-connect-playground
container_name: delta-connect-playground
environment:
- SPARK_LOCAL_HOSTNAME=delta-connect-playground
- PYSPARK_TOTAL_CORES=${PYSPARK_TOTAL_CORES:-4}
- PYSPARK_DRIVER_MEMORY=${PYSPARK_DRIVER_MEMORY:-8g}
- SPARK_REMOTE=sc://delta-connect-server
volumes:
- ${PWD}/notebooks:/opt/spark/work-dir/playground
- ${PWD}/warehouse:/opt/spark/work-dir/warehouse
- ${PWD}/datasets:/opt/spark/work-dir/datasets
ports:
- "8888-8889:8888-8889"
- "4041:4041"
networks:
- connect
deploy:
resources:
reservations:
cpus: '2'
memory: 4G
restart: unless-stopped
networks:
connect:
external: true
name: connect