-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
63 lines (57 loc) · 1.56 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
services:
currency-exchange:
image: devraman/ms-currency-exchange-service:0.0.1-SNAPSHOT
mem_reservation: 700m
ports:
- "8000:8000"
networks:
- currency-network
depends_on:
- naming-server
environment:
EUREKA.CLIENT.SERVICEURL.DEFAULTZONE: http://naming-server:8761/eureka
EUREKA.CLIENT.FETCHREGISTRY: "true"
SPRING.ZIPKIN.BASEURL: http://zipkin-server:9411/
currency-conversion:
image: devraman/ms-currency-conversion-service:0.0.1-SNAPSHOT
mem_reservation: 700m
ports:
- "8100:8100"
networks:
- currency-network
depends_on:
- naming-server
environment:
EUREKA.CLIENT.SERVICEURL.DEFAULTZONE: http://naming-server:8761/eureka
EUREKA.CLIENT.FETCHREGISTRY: "true"
SPRING.ZIPKIN.BASEURL: http://zipkin-server:9411/
api-gateway:
image: devraman/ms-api-gateway:0.0.1-SNAPSHOT
mem_reservation: 700m
ports:
- "8765:8765"
networks:
- currency-network
depends_on:
- naming-server
environment:
EUREKA.CLIENT.SERVICEURL.DEFAULTZONE: http://naming-server:8761/eureka
EUREKA.CLIENT.FETCHREGISTRY: "true"
SPRING.ZIPKIN.BASEURL: http://zipkin-server:9411/
naming-server:
image: devraman/ms-naming-server:0.0.1-SNAPSHOT
mem_reservation: 700m
ports:
- "8761:8761"
networks:
- currency-network
zipkin-server:
image: openzipkin/zipkin:latest
mem_reservation: 300m
ports:
- "9411:9411"
networks:
- currency-network
restart: always
networks:
currency-network: