-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
64 lines (57 loc) · 1.13 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
version: '2'
services:
customers:
image: customers
build:
context: ./Customers
dockerfile: Dockerfile
ports:
- "5001:5001"
networks:
- enterprise-planner-network
api_gateway:
image: api_gateway
build:
context: ./API_Gateway
dockerfile: Dockerfile
ports:
- "5000:5000"
links:
- customers
- orders
- shipments
networks:
- enterprise-planner-network
orders:
image: orders
build:
context: ./Orders
dockerfile: Dockerfile
ports:
- "5002:5002"
networks:
- enterprise-planner-network
shipments:
image: shipments
build:
context: ./Shipments
dockerfile: Dockerfile
ports:
- "5003:5003"
networks:
- enterprise-planner-network
message_broker:
image: rabbitmq:3-management
ports:
- "15672:15672"
- "5672:5672"
environment:
- RABBITMQ_ERLANG_COOKIE='secret cookie'
links:
- customers
- orders
networks:
- enterprise-planner-network
networks:
enterprise-planner-network:
driver: bridge