@@ -14,27 +14,31 @@ services:
1414 - CatalogUrl=http://catalog.api
1515 - OrderingUrl=http://ordering.api:5102
1616 # - IdentityUrl=http://13.88.8.119:5105 #Remote: VM Needs to have public access at 5105.
17- # - IdentityUrl=http://10.0.75.1:5105 #Local: You need to open windows firewall at range 5100-5105.
18- - IdentityUrl=http://identity.service:5105 # Local: You need a entry in windows host file to run identity in local docker.
17+ - IdentityUrl=http://10.0.75.1:5105 # Local: You need to open windows firewall at range 5100-5105.
18+ # - IdentityUrl=http://identity.service:5105 #Local: You need a entry in windows host file to run identity in local docker.
1919 - BasketUrl=http://basket.api:5103
2020 ports :
2121 - " 5100:5100"
22+ links :
23+ - identity.service:10.0.75.1
2224
2325 webspa :
2426 environment :
2527 - CatalogUrl=http://catalog.api
2628 - OrderingUrl=http://ordering.api
27- # - IdentityUrl=http://13.88.8.119:5105 #Remote: VM Needs to have public access at 5105.
28- - IdentityUrl=http://identity.service:5105 # Local: You need a entry in windows host file to run identity in local docker.
29- - BasketUrl=http://basket.api:5103
29+ # - IdentityUrl=http://13.88.8.119:5105 #Remote: VM Needs to have public access at 5105.
30+ # - IdentityUrl=http://identity.service:5105 #Local: You need a entry in windows host file to run identity in local docker.
31+ - IdentityUrl=http://10.0.75.1:5105 # Local: You need to open windows firewall at range 5100-5105.
32+ - BasketUrl=http://basket.api:5103
3033 ports :
3134 - " 5104:80"
3235
3336 basket.api :
3437 environment :
3538 - ConnectionString=basket.data
3639 # - identityUrl=http://13.88.8.119:5105 #Remote
37- - identityUrl=http://identity.service:5105 # Local: You need a entry in windows host file to run identity in local docker.
40+ # - identityUrl=http://identity.service:5105 #Local: You need a entry in windows host file to run identity in local docker.
41+ - identityUrl=http://10.0.75.1:5105 # Local: You need to open windows firewall at range 5100-5105.
3842 ports :
3943 - " 5103:5103"
4044
@@ -47,18 +51,19 @@ services:
4751 ordering.api :
4852 environment :
4953 - ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word
50- - identityUrl=http://identity.service:5105 # local
51- # - identityUrl=http://13.88.8.119:5105 #remote
54+ # - identityUrl=http://13.88.8.119:5105 #Remote: VM Needs to have public access at 5105.
55+ # - identityUrl=http://identity.service:5105 #Local: You need a entry in windows host file to run identity in local docker.
56+ - identityUrl=http://10.0.75.1:5105 # Local: You need to open windows firewall at range 5100-5105.
5257 ports :
5358 - " 5102:5102"
5459
5560 identity.service :
5661 environment :
5762 - SpaClient=http://localhost:5104
5863 - ConnectionStrings__DefaultConnection=Server=sql.data;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word
59- # - MvcClient=http://13.88.8.119:5100 #Remote: VM Needs to have public access at 5105.
64+ # - MvcClient=http://13.88.8.119:5100 #Remote: VM Needs to have public access at 5105.
6065 - MvcClient=http://localhost:5100 # Local: You need a entry in windows host file to run identity in local docker.
61- # 10.0.75.1: 5105 CCE/TODO: try to avoid host entry .
66+ - MvcClient=http://10.0.75.1:5100 # Local: You need to open windows firewall at range 5100- 5105.
6267 ports :
6368 - " 5105:5105"
6469
0 commit comments