@@ -39,28 +39,28 @@ services:
39
39
ports :
40
40
- 9090:9090
41
41
environment :
42
- SERVICECONTROL_URL : http://servicecontrol :33333/api/
42
+ SERVICECONTROL_URL : http://localhost :33333/api/
43
43
ENABLE_REVERSE_PROXY : false
44
44
SHOW_PENDING_RETRY : false
45
45
frontend :
46
46
container_name : frontend
47
47
build :
48
48
context : ./frontend # Path to the folder containing Dockerfile
49
49
dockerfile : Dockerfile
50
+ args :
51
+ BILLING_SIGNALR : localhost:5002
52
+ CLIENT_SIGNALR : localhost:5004
53
+ SALES_SIGNALR : localhost:5001
54
+ SHIPPING_SIGNALR : localhost:5003
50
55
ports :
51
- - " 61335:80"
56
+ - 61335:80
52
57
depends_on :
53
58
- billing
54
59
- shipping
55
60
- clientui
56
61
- sales
57
62
volumes :
58
63
- ./frontend:/app # Optional for hot reloading
59
- environment :
60
- - BILLING_SIGNALR=billing:5002
61
- - CLIENT_SIGNALR=clientui:5000
62
- - SALES_SIGNALR=sales:5001
63
- - SHIPPING_SIGNALR=shipping:5003
64
64
billing :
65
65
build :
66
66
context : ./
@@ -73,6 +73,8 @@ services:
73
73
- ORIGIN_URL=http://frontend:8080
74
74
- TRANSPORT_TYPE
75
75
- CONNECTION_STRING
76
+ depends_on :
77
+ - service-control
76
78
shipping :
77
79
build :
78
80
context : ./
@@ -85,6 +87,8 @@ services:
85
87
- ORIGIN_URL=http://frontend:8080
86
88
- TRANSPORT_TYPE
87
89
- CONNECTION_STRING
90
+ depends_on :
91
+ - service-control
88
92
sales :
89
93
build :
90
94
context : ./
@@ -97,18 +101,22 @@ services:
97
101
- ORIGIN_URL=http://frontend:8080
98
102
- TRANSPORT_TYPE
99
103
- CONNECTION_STRING
104
+ depends_on :
105
+ - service-control
100
106
clientui :
101
107
build :
102
108
context : ./
103
109
dockerfile : ./ClientUI/Dockerfile
104
110
container_name : clientui
105
111
ports :
106
- - " 5000 :80"
112
+ - " 5004 :80"
107
113
environment :
108
114
- LISTENING_PORT=80
109
115
- ORIGIN_URL=http://frontend:8080
110
116
- TRANSPORT_TYPE
111
117
- CONNECTION_STRING
118
+ depends_on :
119
+ - service-control
112
120
113
121
volumes :
114
122
sc-data:
0 commit comments