forked from elastest/elastest-bigdata-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (45 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
49 lines (45 loc) · 1.15 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
version: '2.1'
services:
spark-master:
image: elastest/ebs-spark:latest
container_name: spark-master
ports:
- "8080:8080"
- "7077:7077"
# volumes:
# - ./spark/alluxio_conf:/opt/alluxio/conf
# - ./spark/spark_conf:/opt/spark/conf
# - ./spark/hadoop_conf:/usr/local/hadoop/etc/hadoop
command: ["/usr/bin/supervisord", "--configuration=/opt/conf/master.conf"]
hostname: spark-master
networks:
- elastest
spark-worker:
image: elastest/ebs-spark:latest
depends_on:
- spark-master
ports:
- "8081"
# volumes:
# - ./spark/alluxio_conf:/opt/alluxio/conf
# - ./spark/spark_conf:/opt/spark/conf
# - ./spark/hadoop_conf:/usr/local/hadoop/etc/hadoop
command: ["/usr/bin/supervisord", "--configuration=/opt/conf/slave.conf"]
networks:
- elastest
rest-api:
image: elastest/ebs:latest
environment:
- EBS_PORT=5000
- EBS_SPARK_MASTER_URL=http://spark-master:8080/
volumes:
- ./rest-api:/app
links:
- spark-master
ports:
- 5000:5000
networks:
- elastest
networks:
elastest:
external: true