-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
51 lines (47 loc) · 1.05 KB
/
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
50
51
version: '3'
services:
hdfs:
image: harisekhon/hadoop:2.9 #version should be the same as in /service/pom
container_name: hdfs
ports:
- 8020:8020
- 8042:8042
- 8088:8088
- 19888:19888
- 50010:50010
- 50020:50020
- 50070:50070
- 50075:50075
- 50090:50090
generator:
image: process/datagenerator:latest
container_name: generator
environment:
- HDFS_URL=hdfs
- INFINITE_GENERATE=false
depends_on:
- hdfs
links:
- hdfs
generatorOutput:
image: process/datagenerator:latest
container_name: generatorOutput
environment:
- INFINITE_GENERATE=false
- HDFS_URL=hdfs
- BOOKING_FILENAME=bookingOutput.csv
- SERVICE_FILENAME=serviceOutput.csv
depends_on:
- hdfs
links:
- hdfs
calculator:
image: ancillary-calculator
container_name: calculator
environment:
- OUTPUT_FOLDER=response/
- HDFS_URL=hdfs
depends_on:
- hdfs
links:
- hdfs