-
Notifications
You must be signed in to change notification settings - Fork 0
/
Docker-compose.yaml
82 lines (79 loc) · 2.29 KB
/
Docker-compose.yaml
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
version: '3.8'
services:
zipkin-server:
image: openzipkin/zipkin:latest
ports:
- "9411:9411"
environment:
RABBIT_URI : amqp://guest:guest@rabbitmq:5672
depends_on:
- rabbitmq
networks:
- currency-network
currency-exchange:
image: sayan0306/currency-exchange-service:0.0.1
ports:
- "8000:8000"
networks:
- currency-network
depends_on:
- naming-server
- rabbitmq
environment:
EUREKA.CLIENT.SERVICEURL.DEFAULTZONE: http://naming-server:8761/eureka
MANAGEMENT.ZIPKIN.TRACING.ENDPOINT : http://zipkin-server:9411/api/v2/spans
RABBIT_URI : amqp://guest:guest@rabbitmq:5672
SPRING_ZIPKIN_SENDER_TYPE : rabbit
# SPRING.RABBITMQ.HOST : rabbitmq
# SPRING.ZIPKIN.SENDER.TYPE : rabbit
# RABBIT-URL : amqp://guest@rabbitmq:5672
# SPRING_RABBITMQ-HOST : rabbitmq
naming-server:
image: sayan0306/namingserver:0.0.1
ports:
- "8761:8761"
networks:
- currency-network
currency-conversion:
image: sayan0306/currency-conversion-service:0.0.1
ports:
- "8100:8100"
networks:
- currency-network
depends_on:
- naming-server
- rabbitmq
environment:
EUREKA.CLIENT.SERVICEURL.DEFAULTZONE: http://naming-server:8761/eureka
MANAGEMENT.ZIPKIN.TRACING.ENDPOINT : http://zipkin-server:9411/api/v2/spans
RABBIT_URI : amqp://guest:guest@rabbitmq:5672
SPRING_ZIPKIN_SENDER_TYPE : rabbit
# SPRING.RABBITMQ.HOST : rabbitmq
# SPRING.ZIPKIN.SENDER.TYPE : rabbit
api-gateway:
image: sayan0306/api-gateway:0.0.1
ports:
- "8765:8765"
networks:
- currency-network
depends_on:
- naming-server
- rabbitmq
environment:
EUREKA.CLIENT.SERVICEURL.DEFAULTZONE: http://naming-server:8761/eureka
MANAGEMENT.ZIPKIN.TRACING.ENDPOINT : http://zipkin-server:9411/api/v2/spans
RABBIT_URI : amqp://guest:guest@rabbitmq:5672
SPRING_ZIPKIN_SENDER_TYPE : rabbit
# SPRING.RABBITMQ.HOST : rabbitmq
# SPRING.ZIPKIN.SENDER.TYPE : rabbit
rabbitmq:
image: rabbitmq:3-management
ports:
- "5672:5672" #amqp
- "15672:15672" #http
- "15692:15692" #prometheus
- "25672:25672" #clustering
networks:
currency-network:
networks:
currency-network: