Make docker use the reverse proxy
This commit is contained in:
parent
62a6f17595
commit
40315c69d7
@ -94,28 +94,28 @@
|
|||||||
"Clusters": {
|
"Clusters": {
|
||||||
"basket": {
|
"basket": {
|
||||||
"Destinations": {
|
"Destinations": {
|
||||||
"basket/destination0": {
|
"destination0": {
|
||||||
"Address": "http://localhost:5221"
|
"Address": "http://localhost:5221"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"catalog": {
|
"catalog": {
|
||||||
"Destinations": {
|
"Destinations": {
|
||||||
"catalog/destination0": {
|
"destination0": {
|
||||||
"Address": "http://localhost:5222"
|
"Address": "http://localhost:5222"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"orders": {
|
"orders": {
|
||||||
"Destinations": {
|
"Destinations": {
|
||||||
"orders/destination0": {
|
"destination0": {
|
||||||
"Address": "http://localhost:5224"
|
"Address": "http://localhost:5224"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"signalr": {
|
"signalr": {
|
||||||
"Destinations": {
|
"Destinations": {
|
||||||
"signalr/destination0": {
|
"destination0": {
|
||||||
"Address": "http://localhost:5225"
|
"Address": "http://localhost:5225"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -213,6 +213,10 @@ services:
|
|||||||
- urls__grpcBasket=http://basket-api:81
|
- urls__grpcBasket=http://basket-api:81
|
||||||
- urls__grpcCatalog=http://catalog-api:81
|
- urls__grpcCatalog=http://catalog-api:81
|
||||||
- urls__grpcOrdering=http://ordering-api:81
|
- urls__grpcOrdering=http://ordering-api:81
|
||||||
|
- ReverseProxy__Clusters__basket__Destinations__destination0__Address=http://basket-api
|
||||||
|
- ReverseProxy__Clusters__catalog__Destinations__destination0__Address=http://catalog-api
|
||||||
|
- ReverseProxy__Clusters__orders__Destinations__destination0__Address=http://ordering-api
|
||||||
|
- ReverseProxy__Clusters__signalr__Destinations__destination0__Address=http://ordering-signalrhub
|
||||||
- CatalogUrlHC=http://catalog-api/hc
|
- CatalogUrlHC=http://catalog-api/hc
|
||||||
- OrderingUrlHC=http://ordering-api/hc
|
- OrderingUrlHC=http://ordering-api/hc
|
||||||
- IdentityUrlHC=http://identity-api/hc
|
- IdentityUrlHC=http://identity-api/hc
|
||||||
@ -286,9 +290,9 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- PurchaseUrl=http://webshoppingapigw
|
- PurchaseUrl=http://webshoppingagg
|
||||||
- IdentityUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- SignalrHubUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202
|
- SignalrHubUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5121
|
||||||
- IdentityUrlHC=http://identity-api/hc
|
- IdentityUrlHC=http://identity-api/hc
|
||||||
- UseCustomizationData=True
|
- UseCustomizationData=True
|
||||||
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
|
@ -147,7 +147,6 @@ services:
|
|||||||
dockerfile: Web/WebMVC/Dockerfile
|
dockerfile: Web/WebMVC/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- webshoppingagg
|
- webshoppingagg
|
||||||
- webshoppingapigw
|
|
||||||
|
|
||||||
webhooks-client:
|
webhooks-client:
|
||||||
image: ${REGISTRY:-eshop}/webhooks.client:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/webhooks.client:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user