-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.yml
69 lines (63 loc) · 1.96 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
services:
rabbitmq:
container_name: rabbitmq
hostname: rabbitmq
image: masstransit/rabbitmq:latest
networks:
- common_network
exchange.rates.coincap.openapi:
container_name: exchange.rates.coincap.openapi
image: exchange.rates.coincap.openapi:latest
build:
context: .
dockerfile: Exchange.Rates.CoinCap.OpenApi/Dockerfile
restart: on-failure
depends_on:
- rabbitmq
networks:
- common_network
exchange.rates.coincap.polling.api:
container_name: exchange.rates.coincap.polling.api
image: exchange.rates.coincap.polling.api:latest
build:
context: .
dockerfile: Exchange.Rates.CoinCap.Polling.Api/Dockerfile
depends_on:
- rabbitmq
networks:
- common_network
exchange.rates.ecb.openapi:
container_name: exchange.rates.ecb.openapi
image: exchange.rates.ecb.openapi:latest
build:
context: .
dockerfile: Exchange.Rates.Ecb.OpenApi/Dockerfile
depends_on:
- rabbitmq
networks:
- common_network
exchange.rates.ecb.polling.api:
container_name: exchange.rates.ecb.polling.api
image: exchange.rates.ecb.polling.api:latest
build:
context: .
dockerfile: Exchange.Rates.Ecb.Polling.Api/Dockerfile
depends_on:
- rabbitmq
networks:
- common_network
exchange.rates.gateway:
container_name: exchange.rates.gateway
image: exchange.rates.gateway:latest
build:
context: .
dockerfile: Exchange.Rates.Gateway/Dockerfile
restart: on-failure
networks:
- common_network
depends_on:
- exchange.rates.ecb.openapi
- exchange.rates.coincap.openapi
networks:
common_network:
driver: bridge