-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
74 lines (66 loc) · 1.33 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
70
71
72
73
74
version: '3'
services:
eureka:
build: ./service/service_registry
image: sumrid/soa_eureka
ports:
- 8761:8761
api-gateway:
build: ./service/apigateway
image: sumrid/soa_apigateway
ports:
- 8085:8080
depends_on:
- eureka
product-service:
build: ./product_service
image: sumrid/soa_product
ports:
- 8080:8080
restart: always
depends_on:
- eureka
bill-service:
build: ./bill_service
image: sumrid/soa_bill
ports:
- 8081:8080
restart: always
depends_on:
- eureka
report-service:
build: ./report_service
image: sumrid/soa_report
ports:
- 8082:8080
restart: always
depends_on:
- eureka
stock-service:
build: ./stock_service
image: sumrid/soa_stock
ports:
- 8083:8080
restart: always
depends_on:
- eureka
user-service:
build: ./user_service
image: sumrid/soa_user
ports:
- 8084:5000
restart: always
depends_on:
- eureka
########## Web #########
web:
build: ./web
image: sumrid/soa_web
ports:
- 80:3000
depends_on:
- product-service
- bill-service
- report-service
- stock-service
- user-service