-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
49 lines (48 loc) · 920 Bytes
/
docker-compose.yml
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
version: "3"
services:
solr:
image: solr:7.3.1
container_name: solr
hostname: solr
networks:
- geo-net
ports:
- "9983:9983"
- "8983:8983"
entrypoint:
- docker-entrypoint.sh
- solr
- start
- -c
- -f
spark-master:
image: bde2020/spark-master:2.3.1-hadoop2.7
container_name: spark-master
hostname: spark-master
networks:
- geo-net
ports:
- "8080:8080"
- "7077:7077"
environment:
- INIT_DAEMON_STEP=setup_spark
volumes:
- ./data:/app/data
spark-worker-1:
image: bde2020/spark-worker:2.3.1-hadoop2.7
container_name: spark-worker-1
hostname: spark-worker-1
networks:
- geo-net
depends_on:
- spark-master
ports:
- "8081:8081"
environment:
- "SPARK_MASTER=spark://spark-master:7077"
volumes:
- ./data:/app/data
networks:
geo-net:
external:
name: geo-net