/
docker-compose.yml
63 lines (57 loc) · 1.44 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
version: '3.4'
services:
accountservice:
image: jeremycookdev/accountservice:latest
build:
context: ./Services/AccountService
dockerfile: Dockerfile
container_name: accountservice
ports:
- "8081:80"
networks:
store2018network:
ipv4_address: 172.19.10.101
inventoryservice:
image: jeremycookdev/inventoryservice:latest
build:
context: ./Services/InventoryService
dockerfile: Dockerfile
container_name: inventoryservice
ports:
- "8082:80"
networks:
store2018network:
ipv4_address: 172.19.10.102
shoppingservice:
image: jeremycookdev/shoppingservice:latest
build:
context: ./Services/ShoppingService
dockerfile: Dockerfile
container_name: shoppingservice
ports:
- "8083:80"
networks:
store2018network:
ipv4_address: 172.19.10.103
store2018:
image: jeremycookdev/store2018:latest
environment:
ACCOUNT_SERVICE_API_BASE: http://172.19.10.101/api
INVENTORY_SERVICE_API_BASE: http://172.19.10.102/api
SHOPPING_SERVICE_API_BASE: http://172.19.10.103/api
build:
context: ./Store2018
dockerfile: Dockerfile
container_name: store2018
ports:
- "8000:80"
networks:
store2018network:
ipv4_address: 172.19.10.100
networks:
store2018network:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.19.0.0/16