-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
117 lines (103 loc) · 2.54 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
version: '3.6'
services:
slave1:
image: richardsti/hadoop
hostname: slave1
container_name: slave1
ports:
- 9864:9864
depends_on:
- master
environment:
- CORE_CONF_fs_defaultFS=hdfs://master:54310
networks:
- project_network
tty: true
slave2:
image: richardsti/hadoop
hostname: slave2
container_name: slave2
ports:
- 9863:9864
depends_on:
- master
environment:
- CORE_CONF_fs_defaultFS=hdfs://master:54310
networks:
- project_network
tty: true
slave3:
image: richardsti/hadoop
hostname: slave3
container_name: slave3
ports:
- 9862:9864
depends_on:
- master
environment:
- CORE_CONF_fs_defaultFS=hdfs://master:54310
networks:
- project_network
tty: true
master:
image: richardsti/hadoop
hostname: master
container_name: master
ports:
- 9870:9870
- 54310:54310
expose:
- 54310
- 9870
networks:
- project_network
stdin_open: true
tty: true
nifi:
image: richardsti/nifi
container_name: nifi
hostname: nifi
ports:
- 8080:8080 # Unsecured HTTP Web Port
volumes:
- ./nifi/nifi_templates/:/opt/nifi/nifi-current/conf/
networks:
- project_network
stdin_open: true
tty: true
logging:
driver: none
redis:
image: redis:6.0.3-alpine
hostname: redis
container_name: redis
ports:
- 6379:6379
expose:
- 6379
networks:
- project_network
volumes:
- ./vol/conf/redis.conf:/usr/local/bin/redis.conf
command:
- redis-server
- /usr/local/bin/redis.conf
environment:
- 'REDIS_URL=redis://redis:6379/'
- 'API_PORT=6379'
- 'NODE_ENV=production'
restart: always
redis-web-ui:
image: marian/rebrow:latest
hostname: redis-web-ui
container_name: redis_web_ui
depends_on:
- redis
ports:
- 5001:5001
networks:
- project_network
networks:
project_network:
name: project_network
driver: bridge