-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
268 lines (244 loc) · 7.28 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
version: '3.0'
services:
config-server:
image: localhost:5000/config-server
container_name: config-server
restart: always
ports:
- 8888:8888
volumes:
- /tmp/logs:/logs
environment:
CONFIG_SERVER_URL: http://config-server:8888
GRAPHITE-HOST: graphite
ADMIN-SERVER: http://admin-dashboard:8040
EUREKA_SERVER: http://discovery-service:8761/eureka/
LOGSTASH-URL: logstash:4560
discovery-service:
image: localhost:5000/discovery-service
container_name: discovery-service
restart: always
ports:
- 8761:8761
volumes:
- /tmp/logs:/logs
environment:
CONFIG_SERVER_URL: http://config-server:8888
GRAPHITE-HOST: graphite
ADMIN-SERVER: http://admin-dashboard:8040
EUREKA_SERVER: http://discovery-service:8761/eureka/
LOGSTASH-URL: logstash:4560
zipkin-dashboard:
image: localhost:5000/zipkin-dashboard
container_name: zipkin-dashboard
restart: always
ports:
- 8060:8060
volumes:
- /tmp/logs:/logs
environment:
CONFIG_SERVER_URL: http://config-server:8888
GRAPHITE-HOST: graphite
ADMIN-SERVER: http://admin-dashboard:8040
EUREKA_SERVER: http://discovery-service:8761/eureka/
admin-dashboard:
image: localhost:5000/admin-dashboard
container_name: admin-dashboard
restart: always
ports:
- 8040:8040
volumes:
- /tmp/logs:/logs
environment:
CONFIG_SERVER_URL: http://config-server:8888
GRAPHITE-HOST: graphite
ADMIN-SERVER: http://admin-dashboard:8040
EUREKA_SERVER: http://discovery-service:8761/eureka/
hystrix-dashboard:
image: localhost:5000/hystrix-dashboard
container_name: hystrix-dashboard
restart: always
ports:
- 8050:8050
volumes:
- /tmp/logs:/logs
environment:
CONFIG_SERVER_URL: http://config-server:8888
GRAPHITE-HOST: graphite
ADMIN-SERVER: http://admin-dashboard:8040
EUREKA_SERVER: http://discovery-service:8761/eureka/
ZIPKIN-SERVER: http://zipkin-dashboard:8060
user-service:
image: localhost:5000/user-service
container_name: user-service
restart: always
ports:
- "9020:9020"
volumes:
- /tmp/logs:/logs
environment:
CONFIG_SERVER_URL: http://config-server:8888
GRAPHITE-HOST: graphite
ADMIN-SERVER: http://admin-dashboard:8040
EUREKA_SERVER: http://discovery-service:8761/eureka/
ZIPKIN-SERVER: http://zipkin-dashboard:8060
NBP-HOST: nbp-service
NBP-HOST1: nbp-service
NBP-HOST2: nbp-service
UAA-HOST_BASE: http://user-service:9020/
UAA-TOKEN: http://user-service:9020/oauth/check_token
UAA-USER-INFO-URI: http://user-service:9020/oauth2/user
UAA-HOST-TOKEN-URI: http://user-service:9020/oauth/token
UAA-HOST-AUTH-URI: http://localhost:9020/oauth/authorize
LOGSTASH-URL: logstash:4560
car-service:
image: localhost:5000/car-service
container_name: car-service
restart: always
ports:
- "9010:9010"
volumes:
- /tmp/logs:/logs
environment:
CONFIG_SERVER_URL: http://config-server:8888
GRAPHITE-HOST: graphite
ADMIN-SERVER: http://admin-dashboard:8040
EUREKA_SERVER: http://discovery-service:8761/eureka/
ZIPKIN-SERVER: http://zipkin-dashboard:8060
NBP-HOST: nbp-service
NBP-HOST1: nbp-service
NBP-HOST2: nbp-service
UAA-HOST_BASE: http://car-service:9020/
UAA-TOKEN: http://car-service:9020/oauth/check_token
UAA-USER-INFO-URI: http://car-service:9020/oauth2/user
UAA-HOST-TOKEN-URI: http://car-service:9020/oauth/token
UAA-HOST-AUTH-URI: http://car-service:9020/oauth/authorize
LOGSTASH-URL: logstash:4560
nbp-service:
image: localhost:5000/nbp-service
container_name: nbp-service
restart: always
ports:
- "9040:9040"
volumes:
- /tmp/logs:/logs
environment:
CONFIG_SERVER_URL: http://config-server:8888
GRAPHITE-HOST: graphite
ADMIN-SERVER: http://admin-dashboard:8040
EUREKA_SERVER: http://discovery-service:8761/eureka/
ZIPKIN-SERVER: http://zipkin-dashboard:8060
LOGSTASH-URL: logstash:4560
nbp-service1:
image: localhost:5000/nbp-service
container_name: nbp-service1
restart: always
ports:
- "9041:9040"
volumes:
- /tmp/logs:/logs
environment:
CONFIG_SERVER_URL: http://config-server:8888
GRAPHITE-HOST: graphite
ADMIN-SERVER: http://admin-dashboard:8040
EUREKA_SERVER: http://discovery-service:8761/eureka/
ZIPKIN-SERVER: http://zipkin-dashboard:8060
LOGSTASH-URL: logstash:4560
gateway-api:
image: localhost:5000/gateway-server
container_name: gateway-server
restart: always
ports:
- "9001:9001"
volumes:
- /tmp/logs:/logs
environment:
CONFIG_SERVER_URL: http://config-server:8888
GRAPHITE-HOST: graphite
ADMIN-SERVER: http://admin-dashboard:8040
EUREKA_SERVER: http://discovery-service:8761/eureka/
ZIPKIN-SERVER: http://zipkin-dashboard:8060
UAA-HOST_BASE: http://gateway-server:9020/uaa/
UAA-TOKEN: http://gateway-server:9020/uaa/oauth/check_token
UAA-USER-INFO-URI: http://gateway-server:9020/uaa/oauth2/user
UAA-HOST-TOKEN-URI: http://gateway-server:9020/uaa/oauth/token
UAA-HOST-AUTH-URI: http://gateway-server:9020/uaa/oauth/authorize
REDIS-SERVER: redis
LOGSTASH-URL: logstash:4560
microservices-dashboard:
image: localhost:5000/microservices-dashboard
container_name: microservices-dashboard
restart: always
ports:
- "8070:8070"
volumes:
- /tmp/logs:/logs
environment:
CONFIG_SERVER_URL: http://config-server:8888
GRAPHITE-HOST: graphite
ADMIN-SERVER: http://admin-dashboard:8040
EUREKA_SERVER: http://discovery-service:8761/eureka/
redis:
container_name: redis
image: redis
ports:
- "6379:6379"
graphite:
image: hopsoft/graphite-statsd
container_name: graphite
ports:
- 80:80
grafana:
image: grafana/grafana
ports:
- "3000:3000"
cadvisor:
image: google/cadvisor:latest
container_name: cadvisor
restart: always
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
- /var/lib/docker:/var/lib/docker:ro
ports:
- "8080:8080"
dockerui:
image: elegoev/dockerui
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "9000:9000"
rabbitmq:
image: rabbitmq:3-management
container_name: rabbitmq
ports:
- "15672:15672"
environment:
- RABBITMQ_DEFAULT_USER=test
- RABBITMQ_DEFAULT_PASS=password
elasticsearch:
image: elasticsearch:latest
restart: always
ports:
- 9200:9200
- 9300:9300
logstash:
image: logstash:1.0
restart: always
ports:
- 4560:4560
depends_on:
- elasticsearch
volumes:
- ./config/logstash.conf:/etc/logstash/conf.d/logstash.conf
command: -f /etc/logstash/conf.d/
kibana:
image: kibana:latest
restart: always
ports:
- 5601:5601
depends_on:
- elasticsearch
volumes:
- ./config/kibana.yml:/etc/kibana/kibana.yml