updated compose and 1st envoy config
This commit is contained in:
parent
f83b873ded
commit
efa7d3bc20
@ -1,42 +0,0 @@
|
|||||||
syntax = "proto3";
|
|
||||||
|
|
||||||
package CatalogApi;
|
|
||||||
|
|
||||||
import "google/api/annotations.proto";
|
|
||||||
|
|
||||||
message CatalogItemRequest {
|
|
||||||
int32 id = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message CatalogItemResponse {
|
|
||||||
int32 id = 1;
|
|
||||||
string name = 2;
|
|
||||||
string description=3;
|
|
||||||
double price=4;
|
|
||||||
string picture_file_name=5;
|
|
||||||
string picture_uri=6;
|
|
||||||
CatalogType catalog_type=8;
|
|
||||||
CatalogBrand catalog_brand=10;
|
|
||||||
int32 available_stock=11;
|
|
||||||
int32 restock_threshold=12;
|
|
||||||
int32 max_stock_threshold=13;
|
|
||||||
bool on_reorder=14;
|
|
||||||
}
|
|
||||||
|
|
||||||
message CatalogBrand {
|
|
||||||
int32 id = 1;
|
|
||||||
string name = 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
message CatalogType {
|
|
||||||
int32 id = 1;
|
|
||||||
string type = 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
service Catalog {
|
|
||||||
rpc GetItemById (CatalogItemRequest) returns (CatalogItemResponse) {
|
|
||||||
option (google.api.http) = {
|
|
||||||
get: "/api/v1/catalog/items/{id}"
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
Binary file not shown.
@ -1,56 +1,80 @@
|
|||||||
admin:
|
admin:
|
||||||
access_log_path: /tmp/admin_access.log
|
access_log_path: "/dev/null"
|
||||||
address:
|
address:
|
||||||
socket_address: { address: 0.0.0.0, port_value: 9901 }
|
socket_address:
|
||||||
|
address: 0.0.0.0
|
||||||
|
port_value: 8001
|
||||||
static_resources:
|
static_resources:
|
||||||
listeners:
|
listeners:
|
||||||
- name: listener1
|
- address:
|
||||||
address:
|
socket_address:
|
||||||
socket_address: { address: 0.0.0.0, port_value: 51051 }
|
address: 0.0.0.0
|
||||||
|
port_value: 80
|
||||||
filter_chains:
|
filter_chains:
|
||||||
- filters:
|
- filters:
|
||||||
- name: envoy.http_connection_manager
|
- name: envoy.http_connection_manager
|
||||||
typed_config:
|
config:
|
||||||
"@type": type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager
|
codec_type: auto
|
||||||
stat_prefix: grpc_json
|
stat_prefix: ingress_http
|
||||||
codec_type: AUTO
|
|
||||||
route_config:
|
route_config:
|
||||||
name: local_route
|
name: eshop_backend_route
|
||||||
virtual_hosts:
|
virtual_hosts:
|
||||||
- name: local_service
|
- name: eshop_backend
|
||||||
domains: ["*"]
|
domains:
|
||||||
|
- "*"
|
||||||
routes:
|
routes:
|
||||||
- match: { prefix: "/" }
|
- match:
|
||||||
route: { cluster: grpc, timeout: { seconds: 60 } }
|
prefix: "/api/v1/c/"
|
||||||
|
route:
|
||||||
|
prefix_rewrite: "/api/v1/"
|
||||||
|
cluster: catalog
|
||||||
|
- match:
|
||||||
|
prefix: "/api/v1/o/"
|
||||||
|
route:
|
||||||
|
prefix_rewrite: "/api/v1/"
|
||||||
|
cluster: ordering
|
||||||
|
- match:
|
||||||
|
prefix: "/api/v1/b/"
|
||||||
|
route:
|
||||||
|
prefix_rewrite: "/api/v1/"
|
||||||
|
cluster: basket
|
||||||
|
- match:
|
||||||
|
prefix: "/"
|
||||||
|
route:
|
||||||
|
prefix_rewrite: "/"
|
||||||
|
cluster: shoppingagg
|
||||||
http_filters:
|
http_filters:
|
||||||
- name: envoy.grpc_json_transcoder
|
- name: envoy.router
|
||||||
config:
|
|
||||||
proto_descriptor: "/etc/envoy/catalog.proto-descriptor.pb"
|
|
||||||
services: ["CatalogApi.Catalog"]
|
|
||||||
print_options:
|
|
||||||
add_whitespace: true
|
|
||||||
always_print_primitive_fields: true
|
|
||||||
always_print_enums_as_ints: false
|
|
||||||
preserve_proto_field_names: false
|
|
||||||
- name: envoy.router
|
|
||||||
|
|
||||||
clusters:
|
clusters:
|
||||||
- name: grpc
|
- name: shoppingagg
|
||||||
connect_timeout: 1.25s
|
connect_timeout: 0.25s
|
||||||
type: logical_dns
|
type: logical_dns
|
||||||
lb_policy: round_robin
|
lb_policy: round_robin
|
||||||
dns_lookup_family: V4_ONLY
|
hosts:
|
||||||
http2_protocol_options: {}
|
- socket_address:
|
||||||
load_assignment:
|
address: webshoppingagg
|
||||||
cluster_name: grpc
|
port_value: 80
|
||||||
endpoints:
|
- name: catalog
|
||||||
- lb_endpoints:
|
connect_timeout: 0.25s
|
||||||
- endpoint:
|
type: logical_dns
|
||||||
address:
|
lb_policy: round_robin
|
||||||
socket_address:
|
hosts:
|
||||||
# WARNING: "docker.for.mac.localhost" has been deprecated from Docker v18.03.0.
|
- socket_address:
|
||||||
# If you're running an older version of Docker, please use "docker.for.mac.localhost" instead.
|
address: catalog-api
|
||||||
# Reference: https://docs.docker.com/docker-for-mac/release-notes/#docker-community-edition-18030-ce-mac59-2018-03-26
|
port_value: 80
|
||||||
address: catalog.api
|
- name: basket
|
||||||
port_value: 81
|
connect_timeout: 0.25s
|
||||||
|
type: logical_dns
|
||||||
|
lb_policy: round_robin
|
||||||
|
hosts:
|
||||||
|
- socket_address:
|
||||||
|
address: basket-api
|
||||||
|
port_value: 80
|
||||||
|
- name: ordering
|
||||||
|
connect_timeout: 0.25s
|
||||||
|
type: logical_dns
|
||||||
|
lb_policy: round_robin
|
||||||
|
hosts:
|
||||||
|
- socket_address:
|
||||||
|
address: ordering-api
|
||||||
|
port_value: 80
|
@ -1,14 +0,0 @@
|
|||||||
version: '3.4'
|
|
||||||
|
|
||||||
services:
|
|
||||||
sql.data:
|
|
||||||
environment:
|
|
||||||
- MSSQL_SA_PASSWORD=Pass@word
|
|
||||||
- ACCEPT_EULA=Y
|
|
||||||
- MSSQL_PID=Developer
|
|
||||||
ports:
|
|
||||||
- "5433:1433"
|
|
||||||
|
|
||||||
nosql.data:
|
|
||||||
ports:
|
|
||||||
- "27017:27017"
|
|
@ -1,18 +0,0 @@
|
|||||||
version: '3.4'
|
|
||||||
|
|
||||||
services:
|
|
||||||
sql.data:
|
|
||||||
image: microsoft/mssql-server-linux:2017-latest
|
|
||||||
|
|
||||||
basket.data:
|
|
||||||
image: redis
|
|
||||||
ports:
|
|
||||||
- "6379:6379"
|
|
||||||
|
|
||||||
rabbitmq:
|
|
||||||
image: rabbitmq
|
|
||||||
ports:
|
|
||||||
- "5672:5672"
|
|
||||||
|
|
||||||
nosql.data:
|
|
||||||
image: mongo
|
|
@ -13,23 +13,23 @@ version: '3.4'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
basket.api:
|
basket-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_REDIS_BASKET_DB:-basket.data}
|
- ConnectionString=${ESHOP_AZURE_REDIS_BASKET_DB:-basket.data}
|
||||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- identityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- AzureServiceBusEnabled=False
|
- AzureServiceBusEnabled=False
|
||||||
ports:
|
ports:
|
||||||
- "5103:5103"
|
- "5103:5103"
|
||||||
|
|
||||||
catalog.api:
|
catalog-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_CATALOG_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_CATALOG_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word}
|
||||||
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG:-http://localhost:5101/api/v1/catalog/items/[0]/pic/} #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG:-http://localhost:5101/api/v1/catalog/items/[0]/pic/} #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- AzureStorageAccountName=${ESHOP_AZURE_STORAGE_CATALOG_NAME}
|
- AzureStorageAccountName=${ESHOP_AZURE_STORAGE_CATALOG_NAME}
|
||||||
@ -40,13 +40,13 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5101:80"
|
- "5101:80"
|
||||||
|
|
||||||
identity.api:
|
identity-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- SpaClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5104
|
- SpaClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5104
|
||||||
- XamarinCallback=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105/xamarincallback
|
- XamarinCallback=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105/xamarincallback
|
||||||
- ConnectionStrings__DefaultConnection=${ESHOP_AZURE_IDENTITY_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word}
|
- ConnectionStrings__DefaultConnection=${ESHOP_AZURE_IDENTITY_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word}
|
||||||
- MvcClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5100 #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- MvcClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5100 #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- LocationApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5109
|
- LocationApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5109
|
||||||
- MarketingApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5110
|
- MarketingApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5110
|
||||||
@ -56,12 +56,12 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5105:80"
|
- "5105:80"
|
||||||
|
|
||||||
ordering.api:
|
ordering-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
|
||||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- identityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- UseCustomizationData=True
|
- UseCustomizationData=True
|
||||||
@ -73,7 +73,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- UseCustomizationData=True
|
- UseCustomizationData=True
|
||||||
- AzureServiceBusEnabled=False
|
- AzureServiceBusEnabled=False
|
||||||
@ -89,11 +89,11 @@ services:
|
|||||||
- IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: You need to open your host's firewall at range 5100-5110.
|
- IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: You need to open your host's firewall at range 5100-5110.
|
||||||
- BasketUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5103
|
- BasketUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5103
|
||||||
- MarketingUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5110
|
- MarketingUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5110
|
||||||
- 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 #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
|
- IdentityUrlHC=http://identity-api/hc #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
|
||||||
- BasketUrlHC=http://basket.api/hc
|
- BasketUrlHC=http://basket-api/hc
|
||||||
- MarketingUrlHC=http://marketing.api/hc
|
- MarketingUrlHC=http://marketing-api/hc
|
||||||
- UseCustomizationData=True
|
- UseCustomizationData=True
|
||||||
ports:
|
ports:
|
||||||
- "5104:80"
|
- "5104:80"
|
||||||
@ -102,24 +102,24 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- CatalogUrl=http://catalog.api
|
- CatalogUrl=http://catalog-api
|
||||||
- OrderingUrl=http://ordering.api
|
- OrderingUrl=http://ordering-api
|
||||||
- IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
|
- IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
|
||||||
- BasketUrl=http://basket.api
|
- BasketUrl=http://basket-api
|
||||||
- MarketingUrl=http://marketing.api
|
- MarketingUrl=http://marketing-api
|
||||||
- UseCustomizationData=True #Remote: Use ${ESHOP_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
|
- UseCustomizationData=True #Remote: Use ${ESHOP_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
|
||||||
ports:
|
ports:
|
||||||
- "5100:80"
|
- "5100:80"
|
||||||
|
|
||||||
marketing.api:
|
marketing-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_MARKETING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_MARKETING_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word}
|
||||||
- MongoConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
|
- MongoConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosqldata}
|
||||||
- MongoDatabase=MarketingDb
|
- MongoDatabase=MarketingDb
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- identityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI}
|
- CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI}
|
||||||
- PicBaseUrl=${ESHOP_AZURE_STORAGE_MARKETING:-http://localhost:5110/api/v1/campaigns/[0]/pic/}
|
- PicBaseUrl=${ESHOP_AZURE_STORAGE_MARKETING:-http://localhost:5110/api/v1/campaigns/[0]/pic/}
|
||||||
@ -130,14 +130,14 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5110:80"
|
- "5110:80"
|
||||||
|
|
||||||
sql.data:
|
sqldata:
|
||||||
environment:
|
environment:
|
||||||
- MSSQL_SA_PASSWORD=Pass@word
|
- MSSQL_SA_PASSWORD=Pass@word
|
||||||
- ACCEPT_EULA=Y
|
- ACCEPT_EULA=Y
|
||||||
ports:
|
ports:
|
||||||
- "5433:1433"
|
- "5433:1433"
|
||||||
|
|
||||||
nosql.data:
|
nosqldata:
|
||||||
ports:
|
ports:
|
||||||
- "27017:27017"
|
- "27017:27017"
|
||||||
|
|
||||||
@ -145,19 +145,19 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- CatalogUrl=http://catalog.api/hc
|
- CatalogUrl=http://catalog-api/hc
|
||||||
- OrderingUrl=http://ordering.api/hc
|
- OrderingUrl=http://ordering-api/hc
|
||||||
- BasketUrl=http://basket.api/hc
|
- BasketUrl=http://basket-api/hc
|
||||||
- IdentityUrl=http://identity.api/hc
|
- IdentityUrl=http://identity-api/hc
|
||||||
- LocationsUrl=http://locations.api/hc
|
- LocationsUrl=http://locations-api/hc
|
||||||
- MarketingUrl=http://marketing.api/hc
|
- MarketingUrl=http://marketing-api/hc
|
||||||
- mvc=http://webmvc/hc
|
- mvc=http://webmvc/hc
|
||||||
- spa=http://webspa/hc
|
- spa=http://webspa/hc
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- "5107:80"
|
- "5107:80"
|
||||||
|
|
||||||
payment.api:
|
payment-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:5108
|
- ASPNETCORE_URLS=http://0.0.0.0:5108
|
||||||
@ -166,13 +166,13 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5108:80"
|
- "5108:80"
|
||||||
|
|
||||||
locations.api:
|
locations-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
|
- ConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosqldata}
|
||||||
- Database=LocationsDb
|
- Database=LocationsDb
|
||||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- identityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- AzureServiceBusEnabled=False
|
- AzureServiceBusEnabled=False
|
||||||
|
@ -1,83 +0,0 @@
|
|||||||
version: '3.4'
|
|
||||||
|
|
||||||
services:
|
|
||||||
basket.api:
|
|
||||||
image: eshop/basket.api
|
|
||||||
depends_on:
|
|
||||||
- basket.data
|
|
||||||
- identity.api
|
|
||||||
- rabbitmq
|
|
||||||
|
|
||||||
catalog.api:
|
|
||||||
image: eshop/catalog.api
|
|
||||||
depends_on:
|
|
||||||
- sql.data
|
|
||||||
- rabbitmq
|
|
||||||
|
|
||||||
identity.api:
|
|
||||||
image: eshop/identity.api
|
|
||||||
depends_on:
|
|
||||||
- sql.data
|
|
||||||
|
|
||||||
ordering.api:
|
|
||||||
image: eshop/ordering.api
|
|
||||||
depends_on:
|
|
||||||
- sql.data
|
|
||||||
- rabbitmq
|
|
||||||
|
|
||||||
marketing.api:
|
|
||||||
image: eshop/marketing.api
|
|
||||||
depends_on:
|
|
||||||
- sql.data
|
|
||||||
- nosql.data
|
|
||||||
- identity.api
|
|
||||||
- rabbitmq
|
|
||||||
|
|
||||||
webspa:
|
|
||||||
image: eshop/webspa
|
|
||||||
depends_on:
|
|
||||||
- catalog.api
|
|
||||||
- ordering.api
|
|
||||||
- identity.api
|
|
||||||
- basket.api
|
|
||||||
- marketing.api
|
|
||||||
|
|
||||||
webmvc:
|
|
||||||
image: eshop/webmvc
|
|
||||||
depends_on:
|
|
||||||
- catalog.api
|
|
||||||
- ordering.api
|
|
||||||
- identity.api
|
|
||||||
- basket.api
|
|
||||||
- marketing.api
|
|
||||||
|
|
||||||
webstatus:
|
|
||||||
image: eshop/webstatus
|
|
||||||
|
|
||||||
payment.api:
|
|
||||||
image: eshop/payment.api
|
|
||||||
depends_on:
|
|
||||||
- rabbitmq
|
|
||||||
|
|
||||||
locations.api:
|
|
||||||
image: eshop/locations.api
|
|
||||||
depends_on:
|
|
||||||
- nosql.data
|
|
||||||
- rabbitmq
|
|
||||||
|
|
||||||
sql.data:
|
|
||||||
image: microsoft/mssql-server-linux:2017-latest
|
|
||||||
|
|
||||||
nosql.data:
|
|
||||||
image: mongo
|
|
||||||
|
|
||||||
basket.data:
|
|
||||||
image: redis
|
|
||||||
ports:
|
|
||||||
- "6379:6379"
|
|
||||||
|
|
||||||
rabbitmq:
|
|
||||||
image: rabbitmq:3-management
|
|
||||||
ports:
|
|
||||||
- "5672:5672"
|
|
||||||
|
|
@ -22,37 +22,37 @@ version: '3.4'
|
|||||||
# docker-compose -f docker-compose-windows.yml -f docker-compose.override.yml -f docker-compose.override.windows.yml up
|
# docker-compose -f docker-compose-windows.yml -f docker-compose.override.yml -f docker-compose.override.windows.yml up
|
||||||
|
|
||||||
services:
|
services:
|
||||||
basket.api:
|
basket-api:
|
||||||
environment:
|
environment:
|
||||||
- EventBusUserName=admin
|
- EventBusUserName=admin
|
||||||
- EventBusPassword=password
|
- EventBusPassword=password
|
||||||
|
|
||||||
catalog.api:
|
catalog-api:
|
||||||
environment:
|
environment:
|
||||||
- EventBusUserName=admin
|
- EventBusUserName=admin
|
||||||
- EventBusPassword=password
|
- EventBusPassword=password
|
||||||
|
|
||||||
ordering.api:
|
ordering-api:
|
||||||
environment:
|
environment:
|
||||||
- EventBusUserName=admin
|
- EventBusUserName=admin
|
||||||
- EventBusPassword=password
|
- EventBusPassword=password
|
||||||
|
|
||||||
ordering.backgroundtasks:
|
ordering-backgroundtasks:
|
||||||
environment:
|
environment:
|
||||||
- EventBusUserName=admin
|
- EventBusUserName=admin
|
||||||
- EventBusPassword=password
|
- EventBusPassword=password
|
||||||
|
|
||||||
payment.api:
|
payment-api:
|
||||||
environment:
|
environment:
|
||||||
- EventBusUserName=admin
|
- EventBusUserName=admin
|
||||||
- EventBusPassword=password
|
- EventBusPassword=password
|
||||||
|
|
||||||
locations.api:
|
locations-api:
|
||||||
environment:
|
environment:
|
||||||
- EventBusUserName=admin
|
- EventBusUserName=admin
|
||||||
- EventBusPassword=password
|
- EventBusPassword=password
|
||||||
|
|
||||||
ordering.signalrhub:
|
ordering-signalrhub:
|
||||||
environment:
|
environment:
|
||||||
- EventBusUserName=admin
|
- EventBusUserName=admin
|
||||||
- EventBusPassword=password
|
- EventBusPassword=password
|
||||||
|
@ -13,18 +13,18 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5340:80"
|
- "5340:80"
|
||||||
|
|
||||||
sql.data:
|
sqldata:
|
||||||
environment:
|
environment:
|
||||||
- SA_PASSWORD=Pass@word
|
- SA_PASSWORD=Pass@word
|
||||||
- ACCEPT_EULA=Y
|
- ACCEPT_EULA=Y
|
||||||
ports:
|
ports:
|
||||||
- "5433:1433"
|
- "5433:1433"
|
||||||
|
|
||||||
nosql.data:
|
nosqldata:
|
||||||
ports:
|
ports:
|
||||||
- "27017:27017"
|
- "27017:27017"
|
||||||
|
|
||||||
basket.data:
|
basketdata:
|
||||||
ports:
|
ports:
|
||||||
- "6379:6379"
|
- "6379:6379"
|
||||||
|
|
||||||
@ -33,13 +33,13 @@ services:
|
|||||||
- "15672:15672"
|
- "15672:15672"
|
||||||
- "5672:5672"
|
- "5672:5672"
|
||||||
|
|
||||||
identity.api:
|
identity-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- SpaClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5104
|
- SpaClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5104
|
||||||
- XamarinCallback=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105/xamarincallback
|
- XamarinCallback=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105/xamarincallback
|
||||||
- ConnectionString=${ESHOP_AZURE_IDENTITY_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_IDENTITY_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word}
|
||||||
- MvcClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5100
|
- MvcClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5100
|
||||||
- LocationApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5109
|
- LocationApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5109
|
||||||
- MarketingApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5110
|
- MarketingApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5110
|
||||||
@ -55,12 +55,12 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5105:80"
|
- "5105:80"
|
||||||
|
|
||||||
basket.api:
|
basket-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_REDIS_BASKET_DB:-basket.data}
|
- ConnectionString=${ESHOP_AZURE_REDIS_BASKET_DB:-basketdata}
|
||||||
- identityUrl=http://identity.api
|
- identityUrl=http://identity-api
|
||||||
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
@ -74,10 +74,10 @@ services:
|
|||||||
- "5103:80"
|
- "5103:80"
|
||||||
- "5580:5001"
|
- "5580:5001"
|
||||||
|
|
||||||
catalog.api:
|
catalog-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ConnectionString=${ESHOP_AZURE_CATALOG_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_CATALOG_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word}
|
||||||
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG_URL:-http://localhost:5202/api/v1/c/catalog/items/[0]/pic/} #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG_URL:-http://localhost:5202/api/v1/c/catalog/items/[0]/pic/} #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
@ -95,12 +95,12 @@ services:
|
|||||||
- "5101:80"
|
- "5101:80"
|
||||||
- "9101:81"
|
- "9101:81"
|
||||||
|
|
||||||
ordering.api:
|
ordering-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
|
||||||
- identityUrl=http://identity.api
|
- identityUrl=http://identity-api
|
||||||
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
@ -112,16 +112,16 @@ services:
|
|||||||
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
- UseLoadTest=${USE_LOADTEST:-False}
|
- UseLoadTest=${USE_LOADTEST:-False}
|
||||||
- Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ=Verbose
|
- Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ=Verbose
|
||||||
- Serilog__MinimumLevel__Override__Ordering.API=Verbose
|
- Serilog__MinimumLevel__Override__ordering-api=Verbose
|
||||||
ports:
|
ports:
|
||||||
- "5102:80"
|
- "5102:80"
|
||||||
- "5581:5001"
|
- "5581:5001"
|
||||||
|
|
||||||
ordering.backgroundtasks:
|
ordering-backgroundtasks:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
||||||
@ -136,17 +136,17 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5111:80"
|
- "5111:80"
|
||||||
|
|
||||||
marketing.api:
|
marketing-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_MARKETING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_MARKETING_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word}
|
||||||
- MongoConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
|
- MongoConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosqldata}
|
||||||
- MongoDatabase=MarketingDb
|
- MongoDatabase=MarketingDb
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
||||||
- identityUrl=http://identity.api
|
- identityUrl=http://identity-api
|
||||||
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI}
|
- CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI}
|
||||||
- PicBaseUrl=${ESHOP_AZURE_STORAGE_MARKETING_URL:-http://localhost:5110/api/v1/campaigns/[0]/pic/}
|
- PicBaseUrl=${ESHOP_AZURE_STORAGE_MARKETING_URL:-http://localhost:5110/api/v1/campaigns/[0]/pic/}
|
||||||
@ -160,7 +160,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5110:80"
|
- "5110:80"
|
||||||
|
|
||||||
payment.api:
|
payment-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
@ -170,18 +170,18 @@ services:
|
|||||||
- AzureServiceBusEnabled=False
|
- AzureServiceBusEnabled=False
|
||||||
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
- Serilog__MinimumLevel__Override__Payment.API.IntegrationEvents.EventHandling=Verbose
|
- Serilog__MinimumLevel__Override__payment-api.IntegrationEvents.EventHandling=Verbose
|
||||||
- Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ=Verbose
|
- Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ=Verbose
|
||||||
ports:
|
ports:
|
||||||
- "5108:80"
|
- "5108:80"
|
||||||
|
|
||||||
locations.api:
|
locations-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
|
- ConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosqldata}
|
||||||
- Database=LocationsDb
|
- Database=LocationsDb
|
||||||
- identityUrl=http://identity.api
|
- identityUrl=http://identity-api
|
||||||
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
@ -193,15 +193,15 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5109:80"
|
- "5109:80"
|
||||||
|
|
||||||
webhooks.api:
|
webhooks-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_WEBHOOKS_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.WebhooksDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_WEBHOOKS_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Services.WebhooksDb;User Id=sa;Password=Pass@word}
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
||||||
- IdentityUrl=http://identity.api
|
- IdentityUrl=http://identity-api
|
||||||
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
ports:
|
ports:
|
||||||
- "5113:80"
|
- "5113:80"
|
||||||
@ -209,18 +209,18 @@ services:
|
|||||||
mobileshoppingapigw:
|
mobileshoppingapigw:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- IdentityUrl=http://identity.api
|
- IdentityUrl=http://identity-api
|
||||||
- urls__basket=http://basket.api
|
- urls__basket=http://basket-api
|
||||||
- urls__catalog=http://catalog.api
|
- urls__catalog=http://catalog-api
|
||||||
- urls__orders=http://ordering.api
|
- urls__orders=http://ordering-api
|
||||||
- urls__identity=http://identity.api
|
- urls__identity=http://identity-api
|
||||||
- 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
|
||||||
- BasketUrlHC=http://basket.api/hc
|
- BasketUrlHC=http://basket-api/hc
|
||||||
- MarketingUrlHC=http://marketing.api/hc
|
- MarketingUrlHC=http://marketing-api/hc
|
||||||
- PaymentUrlHC=http://payment.api/hc
|
- PaymentUrlHC=http://payment-api/hc
|
||||||
- LocationUrlHC=http://locations.api/hc
|
- LocationUrlHC=http://locations-api/hc
|
||||||
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
ports:
|
ports:
|
||||||
- "5200:80"
|
- "5200:80"
|
||||||
@ -230,14 +230,14 @@ services:
|
|||||||
mobilemarketingapigw:
|
mobilemarketingapigw:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- IdentityUrl=http://identity.api
|
- IdentityUrl=http://identity-api
|
||||||
- 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
|
||||||
- BasketUrlHC=http://basket.api/hc
|
- BasketUrlHC=http://basket-api/hc
|
||||||
- MarketingUrlHC=http://marketing.api/hc
|
- MarketingUrlHC=http://marketing-api/hc
|
||||||
- PaymentUrlHC=http://payment.api/hc
|
- PaymentUrlHC=http://payment-api/hc
|
||||||
- LocationUrlHC=http://locations.api/hc
|
- LocationUrlHC=http://locations-api/hc
|
||||||
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
ports:
|
ports:
|
||||||
- "5201:80"
|
- "5201:80"
|
||||||
@ -247,53 +247,55 @@ services:
|
|||||||
webshoppingapigw:
|
webshoppingapigw:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- IdentityUrl=http://identity.api
|
- IdentityUrl=http://identity-api
|
||||||
- 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
|
||||||
- BasketUrlHC=http://basket.api/hc
|
- BasketUrlHC=http://basket-api/hc
|
||||||
- MarketingUrlHC=http://marketing.api/hc
|
- MarketingUrlHC=http://marketing-api/hc
|
||||||
- PaymentUrlHC=http://payment.api/hc
|
- PaymentUrlHC=http://payment-api/hc
|
||||||
- LocationUrlHC=http://locations.api/hc
|
- LocationUrlHC=http://locations-api/hc
|
||||||
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
ports:
|
|
||||||
- "5202:80"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./ApiGateways/Web.Bff.Shopping/apigw:${ESHOP_OCELOT_VOLUME_SPEC:-/app/configuration}
|
- ./ApiGateways/Envoy/config:/etc/envoy
|
||||||
|
ports:
|
||||||
|
- "5202:80"
|
||||||
|
- "15202:8001"
|
||||||
|
|
||||||
webmarketingapigw:
|
webmarketingapigw:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- IdentityUrl=http://identity.api
|
- IdentityUrl=http://identity-api
|
||||||
- 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
|
||||||
- BasketUrlHC=http://basket.api/hc
|
- BasketUrlHC=http://basket-api/hc
|
||||||
- MarketingUrlHC=http://marketing.api/hc
|
- MarketingUrlHC=http://marketing-api/hc
|
||||||
- PaymentUrlHC=http://payment.api/hc
|
- PaymentUrlHC=http://payment-api/hc
|
||||||
- LocationUrlHC=http://locations.api/hc
|
- LocationUrlHC=http://locations-api/hc
|
||||||
- IdentityUrlExternal=http://10.0.75.1:5105
|
- IdentityUrlExternal=http://10.0.75.1:5105
|
||||||
ports:
|
|
||||||
- "5203:80"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./ApiGateways/Web.Bff.Marketing/apigw:${ESHOP_OCELOT_VOLUME_SPEC:-/app/configuration}
|
- ./ApiGateways/Envoy/config:/etc/envoy
|
||||||
|
ports:
|
||||||
|
- "5203:80"
|
||||||
|
- "15203:8001"
|
||||||
|
|
||||||
mobileshoppingagg:
|
mobileshoppingagg:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- urls__basket=http://basket.api
|
- urls__basket=http://basket-api
|
||||||
- urls__catalog=http://catalog.api
|
- urls__catalog=http://catalog-api
|
||||||
- urls__orders=http://ordering.api
|
- urls__orders=http://ordering-api
|
||||||
- urls__identity=http://identity.api
|
- urls__identity=http://identity-api
|
||||||
- urls__grpcBasket=http://10.0.75.1:5580
|
- urls__grpcBasket=http://10.0.75.1:5580
|
||||||
- urls__grpcOrdering=http://10.0.75.1:5581
|
- urls__grpcOrdering=http://10.0.75.1:5581
|
||||||
- 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
|
||||||
- BasketUrlHC=http://basket.api/hc
|
- BasketUrlHC=http://basket-api/hc
|
||||||
- MarketingUrlHC=http://marketing.api/hc
|
- MarketingUrlHC=http://marketing-api/hc
|
||||||
- PaymentUrlHC=http://payment.api/hc
|
- PaymentUrlHC=http://payment-api/hc
|
||||||
- LocationUrlHC=http://locations.api/hc
|
- LocationUrlHC=http://locations-api/hc
|
||||||
- IdentityUrlExternal=http://10.0.75.1:5105
|
- IdentityUrlExternal=http://10.0.75.1:5105
|
||||||
ports:
|
ports:
|
||||||
- "5120:80"
|
- "5120:80"
|
||||||
@ -301,25 +303,25 @@ services:
|
|||||||
webshoppingagg:
|
webshoppingagg:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- urls__basket=http://basket.api
|
- urls__basket=http://basket-api
|
||||||
- urls__catalog=http://catalog.api
|
- urls__catalog=http://catalog-api
|
||||||
- urls__orders=http://ordering.api
|
- urls__orders=http://ordering-api
|
||||||
- urls__identity=http://identity.api
|
- urls__identity=http://identity-api
|
||||||
- urls__grpcBasket=http://10.0.75.1:5580
|
- urls__grpcBasket=http://10.0.75.1:5580
|
||||||
- urls__grpcCatalog=http://10.0.75.1:9101
|
- urls__grpcCatalog=http://10.0.75.1:9101
|
||||||
- urls__grpcOrdering=http://10.0.75.1:5581
|
- urls__grpcOrdering=http://10.0.75.1:5581
|
||||||
- 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
|
||||||
- BasketUrlHC=http://basket.api/hc
|
- BasketUrlHC=http://basket-api/hc
|
||||||
- MarketingUrlHC=http://marketing.api/hc
|
- MarketingUrlHC=http://marketing-api/hc
|
||||||
- PaymentUrlHC=http://payment.api/hc
|
- PaymentUrlHC=http://payment-api/hc
|
||||||
- LocationUrlHC=http://locations.api/hc
|
- LocationUrlHC=http://locations-api/hc
|
||||||
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
ports:
|
ports:
|
||||||
- "5121:80"
|
- "5121:80"
|
||||||
|
|
||||||
ordering.signalrhub:
|
ordering-signalrhub:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
@ -329,7 +331,7 @@ services:
|
|||||||
- AzureServiceBusEnabled=False
|
- AzureServiceBusEnabled=False
|
||||||
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
- identityUrl=http://identity.api
|
- identityUrl=http://identity-api
|
||||||
ports:
|
ports:
|
||||||
- "5112:80"
|
- "5112:80"
|
||||||
|
|
||||||
@ -354,23 +356,23 @@ services:
|
|||||||
- HealthChecks-UI__HealthChecks__7__Name=Web Marketing API GW HTTP Check
|
- HealthChecks-UI__HealthChecks__7__Name=Web Marketing API GW HTTP Check
|
||||||
- HealthChecks-UI__HealthChecks__7__Uri=http://webmarketingapigw/hc
|
- HealthChecks-UI__HealthChecks__7__Uri=http://webmarketingapigw/hc
|
||||||
- HealthChecks-UI__HealthChecks__8__Name=Ordering HTTP Check
|
- HealthChecks-UI__HealthChecks__8__Name=Ordering HTTP Check
|
||||||
- HealthChecks-UI__HealthChecks__8__Uri=http://ordering.api/hc
|
- HealthChecks-UI__HealthChecks__8__Uri=http://ordering-api/hc
|
||||||
- HealthChecks-UI__HealthChecks__9__Name=Basket HTTP Check
|
- HealthChecks-UI__HealthChecks__9__Name=Basket HTTP Check
|
||||||
- HealthChecks-UI__HealthChecks__9__Uri=http://basket.api/hc
|
- HealthChecks-UI__HealthChecks__9__Uri=http://basket-api/hc
|
||||||
- HealthChecks-UI__HealthChecks__10__Name=Catalog HTTP Check
|
- HealthChecks-UI__HealthChecks__10__Name=Catalog HTTP Check
|
||||||
- HealthChecks-UI__HealthChecks__10__Uri=http://catalog.api/hc
|
- HealthChecks-UI__HealthChecks__10__Uri=http://catalog-api/hc
|
||||||
- HealthChecks-UI__HealthChecks__11__Name=Identity HTTP Check
|
- HealthChecks-UI__HealthChecks__11__Name=Identity HTTP Check
|
||||||
- HealthChecks-UI__HealthChecks__11__Uri=http://identity.api/hc
|
- HealthChecks-UI__HealthChecks__11__Uri=http://identity-api/hc
|
||||||
- HealthChecks-UI__HealthChecks__12__Name=Marketing HTTP Check
|
- HealthChecks-UI__HealthChecks__12__Name=Marketing HTTP Check
|
||||||
- HealthChecks-UI__HealthChecks__12__Uri=http://marketing.api/hc
|
- HealthChecks-UI__HealthChecks__12__Uri=http://marketing-api/hc
|
||||||
- HealthChecks-UI__HealthChecks__13__Name=Locations HTTP Check
|
- HealthChecks-UI__HealthChecks__13__Name=Locations HTTP Check
|
||||||
- HealthChecks-UI__HealthChecks__13__Uri=http://locations.api/hc
|
- HealthChecks-UI__HealthChecks__13__Uri=http://locations-api/hc
|
||||||
- HealthChecks-UI__HealthChecks__14__Name=Payments HTTP Check
|
- HealthChecks-UI__HealthChecks__14__Name=Payments HTTP Check
|
||||||
- HealthChecks-UI__HealthChecks__14__Uri=http://payment.api/hc
|
- HealthChecks-UI__HealthChecks__14__Uri=http://payment-api/hc
|
||||||
- HealthChecks-UI__HealthChecks__15__Name=Ordering SignalRHub HTTP Check
|
- HealthChecks-UI__HealthChecks__15__Name=Ordering SignalRHub HTTP Check
|
||||||
- HealthChecks-UI__HealthChecks__15__Uri=http://ordering.signalrhub/hc
|
- HealthChecks-UI__HealthChecks__15__Uri=http://ordering-signalrhub/hc
|
||||||
- HealthChecks-UI__HealthChecks__16__Name=Ordering HTTP Background Check
|
- HealthChecks-UI__HealthChecks__16__Name=Ordering HTTP Background Check
|
||||||
- HealthChecks-UI__HealthChecks__16__Uri=http://ordering.backgroundtasks/hc
|
- HealthChecks-UI__HealthChecks__16__Uri=http://ordering-backgroundtasks/hc
|
||||||
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
ports:
|
ports:
|
||||||
@ -385,7 +387,7 @@ services:
|
|||||||
- MarketingUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5203
|
- MarketingUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5203
|
||||||
- PurchaseUrlHC=http://webshoppingapigw/hc
|
- PurchaseUrlHC=http://webshoppingapigw/hc
|
||||||
- MarketingUrlHC=http://webmarketingapigw/hc
|
- MarketingUrlHC=http://webmarketingapigw/hc
|
||||||
- IdentityUrlHC=http://identity.api/hc
|
- IdentityUrlHC=http://identity-api/hc
|
||||||
- UseCustomizationData=True
|
- UseCustomizationData=True
|
||||||
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
@ -401,7 +403,7 @@ services:
|
|||||||
- IdentityUrl=http://10.0.75.1:5105
|
- IdentityUrl=http://10.0.75.1:5105
|
||||||
- MarketingUrl=http://webmarketingapigw
|
- MarketingUrl=http://webmarketingapigw
|
||||||
- SignalrHubUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202
|
- SignalrHubUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202
|
||||||
- IdentityUrlHC=http://identity.api/hc
|
- IdentityUrlHC=http://identity-api/hc
|
||||||
- PurchaseUrlHC=http://webshoppingapigw/hc
|
- PurchaseUrlHC=http://webshoppingapigw/hc
|
||||||
- MarketingUrlHC=http://webmarketingapigw/hc
|
- MarketingUrlHC=http://webmarketingapigw/hc
|
||||||
- UseCustomizationData=True
|
- UseCustomizationData=True
|
||||||
@ -411,19 +413,14 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5100:80"
|
- "5100:80"
|
||||||
|
|
||||||
webhooks.client:
|
webhooks-client:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- Token=6168DB8D-DC58-4094-AF24-483278923590 # Webhooks are registered with this token (any value is valid) but the client won't check it
|
- Token=6168DB8D-DC58-4094-AF24-483278923590 # Webhooks are registered with this token (any value is valid) but the client won't check it
|
||||||
- IdentityUrl=http://10.0.75.1:5105
|
- IdentityUrl=http://10.0.75.1:5105
|
||||||
- CallBackUrl=http://localhost:5114
|
- CallBackUrl=http://localhost:5114
|
||||||
- WebhooksUrl=http://webhooks.api
|
- WebhooksUrl=http://webhooks-api
|
||||||
- SelfUrl=http://webhooks.client/
|
- SelfUrl=http://webhooks-client/
|
||||||
ports:
|
ports:
|
||||||
- "5114:80"
|
- "5114:80"
|
||||||
|
|
||||||
envoy:
|
|
||||||
volumes:
|
|
||||||
- ./ApiGateways/Envoy/config:/etc/envoy
|
|
||||||
ports:
|
|
||||||
- "51051:51051"
|
|
@ -15,12 +15,12 @@ version: '3.4'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
basket.api:
|
basket-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_REDIS_BASKET_DB:-basket.data}
|
- ConnectionString=${ESHOP_AZURE_REDIS_BASKET_DB:-basket.data}
|
||||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- identityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
@ -33,11 +33,11 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "80" # The API Gateway redirects and access through the internal port (80).
|
- "80" # The API Gateway redirects and access through the internal port (80).
|
||||||
|
|
||||||
catalog.api:
|
catalog-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_CATALOG_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_CATALOG_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word}
|
||||||
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG_URL:-http://localhost:5101/api/v1/catalog/items/[0]/pic/} #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG_URL:-http://localhost:5101/api/v1/catalog/items/[0]/pic/} #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
@ -52,13 +52,13 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "80" # The API Gateway redirects and access through the internal port (80).
|
- "80" # The API Gateway redirects and access through the internal port (80).
|
||||||
|
|
||||||
identity.api:
|
identity-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- SpaClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5104
|
- SpaClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5104
|
||||||
- XamarinCallback=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105/xamarincallback #localhost do not work for UWP login, so we have to use "external" IP always
|
- XamarinCallback=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105/xamarincallback #localhost do not work for UWP login, so we have to use "external" IP always
|
||||||
- ConnectionString=${ESHOP_AZURE_IDENTITY_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_IDENTITY_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word}
|
||||||
- MvcClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5100 #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- MvcClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5100 #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- LocationApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5109
|
- LocationApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5109
|
||||||
- MarketingApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5110
|
- MarketingApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5110
|
||||||
@ -72,12 +72,12 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5105:80"
|
- "5105:80"
|
||||||
|
|
||||||
ordering.api:
|
ordering-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
|
||||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- identityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
@ -95,7 +95,7 @@ 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
|
||||||
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
||||||
@ -109,17 +109,17 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5111:80"
|
- "5111:80"
|
||||||
|
|
||||||
marketing.api:
|
marketing-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_MARKETING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_MARKETING_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word}
|
||||||
- MongoConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
|
- MongoConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosqldata}
|
||||||
- MongoDatabase=MarketingDb
|
- MongoDatabase=MarketingDb
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
||||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- identityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI}
|
- CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI}
|
||||||
- PicBaseUrl=${ESHOP_AZURE_STORAGE_MARKETING_URL:-http://localhost:5110/api/v1/campaigns/[0]/pic/}
|
- PicBaseUrl=${ESHOP_AZURE_STORAGE_MARKETING_URL:-http://localhost:5110/api/v1/campaigns/[0]/pic/}
|
||||||
@ -140,12 +140,12 @@ services:
|
|||||||
- IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
|
- IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
|
||||||
- PurchaseUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5202
|
- PurchaseUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5202
|
||||||
- MarketingUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5203
|
- MarketingUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5203
|
||||||
- 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 #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
|
- IdentityUrlHC=http://identity-api/hc #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
|
||||||
- BasketUrlHC=http://basket.api/hc
|
- BasketUrlHC=http://basket-api/hc
|
||||||
- MarketingUrlHC=http://marketing.api/hc
|
- MarketingUrlHC=http://marketing-api/hc
|
||||||
- PaymentUrlHC=http://payment.api/hc
|
- PaymentUrlHC=http://payment-api/hc
|
||||||
- UseCustomizationData=True
|
- UseCustomizationData=True
|
||||||
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
@ -159,12 +159,12 @@ services:
|
|||||||
- PurchaseUrl=http://webshoppingapigw
|
- PurchaseUrl=http://webshoppingapigw
|
||||||
- IdentityUrl=http://10.0.75.1:5105 # Local Mac: Use http://docker.for.mac.localhost:5105 || Local Windows: Use 10.0.75.1 in a "Docker for Windows" environment, if using "localhost" from browser. || #Remote access: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
|
- IdentityUrl=http://10.0.75.1:5105 # Local Mac: Use http://docker.for.mac.localhost:5105 || Local Windows: Use 10.0.75.1 in a "Docker for Windows" environment, if using "localhost" from browser. || #Remote access: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
|
||||||
- MarketingUrl=http://webmarketingapigw
|
- MarketingUrl=http://webmarketingapigw
|
||||||
- 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 #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
|
- IdentityUrlHC=http://identity-api/hc #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
|
||||||
- BasketUrlHC=http://basket.api/hc
|
- BasketUrlHC=http://basket-api/hc
|
||||||
- MarketingUrlHC=http://marketing.api/hc
|
- MarketingUrlHC=http://marketing-api/hc
|
||||||
- PaymentUrlHC=http://payment.api/hc
|
- PaymentUrlHC=http://payment-api/hc
|
||||||
- UseCustomizationData=True
|
- UseCustomizationData=True
|
||||||
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
@ -176,13 +176,13 @@ 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
|
||||||
- CatalogUrl=http://catalog.api/hc
|
- CatalogUrl=http://catalog-api/hc
|
||||||
- OrderingUrl=http://ordering.api/hc
|
- OrderingUrl=http://ordering-api/hc
|
||||||
- BasketUrl=http://basket.api/hc
|
- BasketUrl=http://basket-api/hc
|
||||||
- IdentityUrl=http://identity.api/hc
|
- IdentityUrl=http://identity-api/hc
|
||||||
- LocationsUrl=http://locations.api/hc
|
- LocationsUrl=http://locations-api/hc
|
||||||
- MarketingUrl=http://marketing.api/hc
|
- MarketingUrl=http://marketing-api/hc
|
||||||
- PaymentUrl=http://payment.api/hc
|
- PaymentUrl=http://payment-api/hc
|
||||||
- mvc=http://webmvc/hc
|
- mvc=http://webmvc/hc
|
||||||
- spa=http://webspa/hc
|
- spa=http://webspa/hc
|
||||||
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
@ -190,7 +190,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5107:80"
|
- "5107:80"
|
||||||
|
|
||||||
payment.api:
|
payment-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
@ -203,13 +203,13 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "80" # The API Gateway redirects and access through the internal port (80).
|
- "80" # The API Gateway redirects and access through the internal port (80).
|
||||||
|
|
||||||
locations.api:
|
locations-api:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- ConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
|
- ConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosqldata}
|
||||||
- Database=LocationsDb
|
- Database=LocationsDb
|
||||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- identityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
@ -221,14 +221,14 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "80" # The API Gateway redirects and access through the internal port (80).
|
- "80" # The API Gateway redirects and access through the internal port (80).
|
||||||
|
|
||||||
sql.data:
|
sqldata:
|
||||||
environment:
|
environment:
|
||||||
- SA_PASSWORD=Pass@word
|
- SA_PASSWORD=Pass@word
|
||||||
- ACCEPT_EULA=Y
|
- ACCEPT_EULA=Y
|
||||||
ports:
|
ports:
|
||||||
- "5433:1433" # Important: In a production environment your should remove the external port
|
- "5433:1433" # Important: In a production environment your should remove the external port
|
||||||
|
|
||||||
nosql.data:
|
nosqldata:
|
||||||
ports:
|
ports:
|
||||||
- "27017:27017" # Important: In a production environment your should remove the external port
|
- "27017:27017" # Important: In a production environment your should remove the external port
|
||||||
|
|
||||||
@ -244,7 +244,7 @@ services:
|
|||||||
mobileshoppingapigw:
|
mobileshoppingapigw:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- IdentityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
ports:
|
ports:
|
||||||
- "5200:80" # Important: In a production environment your should remove the external port (5200) kept here for microservice debugging purposes.
|
- "5200:80" # Important: In a production environment your should remove the external port (5200) kept here for microservice debugging purposes.
|
||||||
# The API Gateway redirects and access through the internal port (80).
|
# The API Gateway redirects and access through the internal port (80).
|
||||||
@ -254,7 +254,7 @@ services:
|
|||||||
mobilemarketingapigw:
|
mobilemarketingapigw:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- IdentityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
ports:
|
ports:
|
||||||
- "5201:80" # Important: In a production environment your should remove the external port (5201) kept here for microservice debugging purposes.
|
- "5201:80" # Important: In a production environment your should remove the external port (5201) kept here for microservice debugging purposes.
|
||||||
# The API Gateway redirects and access through the internal port (80).
|
# The API Gateway redirects and access through the internal port (80).
|
||||||
@ -264,7 +264,7 @@ services:
|
|||||||
webshoppingapigw:
|
webshoppingapigw:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- IdentityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
ports:
|
ports:
|
||||||
- "5202:80" # Important: In a production environment your should remove the external port (5202) kept here for microservice debugging purposes.
|
- "5202:80" # Important: In a production environment your should remove the external port (5202) kept here for microservice debugging purposes.
|
||||||
# The API Gateway redirects and access through the internal port (80).
|
# The API Gateway redirects and access through the internal port (80).
|
||||||
@ -274,7 +274,7 @@ services:
|
|||||||
webmarketingapigw:
|
webmarketingapigw:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- IdentityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
ports:
|
ports:
|
||||||
- "5203:80" # Important: In a production environment your should remove the external port (5203) kept here for microservice debugging purposes.
|
- "5203:80" # Important: In a production environment your should remove the external port (5203) kept here for microservice debugging purposes.
|
||||||
# The API Gateway redirects and access through the internal port (80).
|
# The API Gateway redirects and access through the internal port (80).
|
||||||
@ -284,10 +284,10 @@ services:
|
|||||||
mobileshoppingagg:
|
mobileshoppingagg:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- urls__basket=http://basket.api
|
- urls__basket=http://basket-api
|
||||||
- urls__catalog=http://catalog.api
|
- urls__catalog=http://catalog-api
|
||||||
- urls__orders=http://ordering.api
|
- urls__orders=http://ordering-api
|
||||||
- urls__identity=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- urls__identity=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
ports:
|
ports:
|
||||||
- "80" # Important: In a production environment your should remove the external port (5120) kept here for microservice debugging purposes.
|
- "80" # Important: In a production environment your should remove the external port (5120) kept here for microservice debugging purposes.
|
||||||
# The API Gateway redirects and access through the internal port (80).
|
# The API Gateway redirects and access through the internal port (80).
|
||||||
@ -295,10 +295,10 @@ services:
|
|||||||
webshoppingagg:
|
webshoppingagg:
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- urls__basket=http://basket.api
|
- urls__basket=http://basket-api
|
||||||
- urls__catalog=http://catalog.api
|
- urls__catalog=http://catalog-api
|
||||||
- urls__orders=http://ordering.api
|
- urls__orders=http://ordering-api
|
||||||
- urls__identity=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- urls__identity=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
ports:
|
ports:
|
||||||
- "80" # Important: In a production environment your should remove the external port (5121) kept here for microservice debugging purposes.
|
- "80" # Important: In a production environment your should remove the external port (5121) kept here for microservice debugging purposes.
|
||||||
# The API Gateway redirects and access through the internal port (80).
|
# The API Gateway redirects and access through the internal port (80).
|
||||||
|
@ -5,10 +5,10 @@
|
|||||||
version: '3.4'
|
version: '3.4'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
sql.data:
|
sqldata:
|
||||||
image: microsoft/mssql-server-windows-developer
|
image: microsoft/mssql-server-windows-developer
|
||||||
|
|
||||||
nosql.data:
|
nosqldata:
|
||||||
image: mongo:windowsservercore
|
image: mongo:windowsservercore
|
||||||
|
|
||||||
basket.data:
|
basket.data:
|
||||||
@ -17,7 +17,7 @@ services:
|
|||||||
rabbitmq:
|
rabbitmq:
|
||||||
image: spring2/rabbitmq
|
image: spring2/rabbitmq
|
||||||
|
|
||||||
identity.api:
|
identity-api:
|
||||||
build:
|
build:
|
||||||
args:
|
args:
|
||||||
NODE_IMAGE: stefanscherer/node-windows:8.11
|
NODE_IMAGE: stefanscherer/node-windows:8.11
|
||||||
|
@ -5,75 +5,75 @@ services:
|
|||||||
seq:
|
seq:
|
||||||
image: datalust/seq:latest
|
image: datalust/seq:latest
|
||||||
|
|
||||||
sql.data:
|
sqldata:
|
||||||
image: microsoft/mssql-server-linux:2017-latest
|
image: microsoft/mssql-server-linux:2017-latest
|
||||||
|
|
||||||
nosql.data:
|
nosqldata:
|
||||||
image: mongo
|
image: mongo
|
||||||
|
|
||||||
basket.data:
|
basketdata:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
image: rabbitmq:3-management-alpine
|
image: rabbitmq:3-management-alpine
|
||||||
|
|
||||||
identity.api:
|
identity-api:
|
||||||
image: ${REGISTRY:-eshop}/identity.api:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/identity.api:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Services/Identity/Identity.API/Dockerfile
|
dockerfile: Services/Identity/Identity.API/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- sql.data
|
- sqldata
|
||||||
|
|
||||||
basket.api:
|
basket-api:
|
||||||
image: ${REGISTRY:-eshop}/basket.api:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/basket.api:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Services/Basket/Basket.API/Dockerfile
|
dockerfile: Services/Basket/Basket.API/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- basket.data
|
- basketdata
|
||||||
- identity.api
|
- identity-api
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
|
|
||||||
catalog.api:
|
catalog-api:
|
||||||
image: ${REGISTRY:-eshop}/catalog.api:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/catalog.api:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Services/Catalog/Catalog.API/Dockerfile
|
dockerfile: Services/Catalog/Catalog.API/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- sql.data
|
- sqldata
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
|
|
||||||
ordering.api:
|
ordering-api:
|
||||||
image: ${REGISTRY:-eshop}/ordering.api:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/ordering.api:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Services/Ordering/Ordering.API/Dockerfile
|
dockerfile: Services/Ordering/Ordering.API/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- sql.data
|
- sqldata
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
|
|
||||||
ordering.backgroundtasks:
|
ordering-backgroundtasks:
|
||||||
image: ${REGISTRY:-eshop}/ordering.backgroundtasks:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/ordering.backgroundtasks:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Services/Ordering/Ordering.BackgroundTasks/Dockerfile
|
dockerfile: Services/Ordering/Ordering.BackgroundTasks/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- sql.data
|
- sqldata
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
|
|
||||||
marketing.api:
|
marketing-api:
|
||||||
image: ${REGISTRY:-eshop}/marketing.api:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/marketing.api:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Services/Marketing/Marketing.API/Dockerfile
|
dockerfile: Services/Marketing/Marketing.API/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- sql.data
|
- sqldata
|
||||||
- nosql.data
|
- nosqldata
|
||||||
- identity.api
|
- identity-api
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
|
|
||||||
payment.api:
|
payment-api:
|
||||||
image: ${REGISTRY:-eshop}/payment.api:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/payment.api:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
@ -81,22 +81,22 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
|
|
||||||
locations.api:
|
locations-api:
|
||||||
image: ${REGISTRY:-eshop}/locations.api:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/locations.api:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Services/Location/Locations.API/Dockerfile
|
dockerfile: Services/Location/Locations.API/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- nosql.data
|
- nosqldata
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
|
|
||||||
webhooks.api:
|
webhooks-api:
|
||||||
image: ${REGISTRY:-eshop}/webhooks.api:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/webhooks.api:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Services/Webhooks/Webhooks.API/Dockerfile
|
dockerfile: Services/Webhooks/Webhooks.API/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- sql.data
|
- sqldata
|
||||||
|
|
||||||
mobileshoppingapigw:
|
mobileshoppingapigw:
|
||||||
image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
@ -104,14 +104,14 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: ApiGateways/ApiGw-Base/Dockerfile
|
dockerfile: ApiGateways/ApiGw-Base/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- nosql.data
|
- nosqldata
|
||||||
- sql.data
|
- sqldata
|
||||||
- identity.api
|
- identity-api
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
- ordering.api
|
- ordering-api
|
||||||
- marketing.api
|
- marketing-api
|
||||||
- catalog.api
|
- catalog-api
|
||||||
- basket.api
|
- basket-api
|
||||||
|
|
||||||
mobilemarketingapigw:
|
mobilemarketingapigw:
|
||||||
image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
@ -119,44 +119,14 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: ApiGateways/ApiGw-Base/Dockerfile
|
dockerfile: ApiGateways/ApiGw-Base/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- nosql.data
|
- nosqldata
|
||||||
- sql.data
|
- sqldata
|
||||||
- identity.api
|
- identity-api
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
- ordering.api
|
- ordering-api
|
||||||
- marketing.api
|
- marketing-api
|
||||||
- catalog.api
|
- catalog-api
|
||||||
- basket.api
|
- basket-api
|
||||||
|
|
||||||
webshoppingapigw:
|
|
||||||
image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: ApiGateways/ApiGw-Base/Dockerfile
|
|
||||||
depends_on:
|
|
||||||
- nosql.data
|
|
||||||
- sql.data
|
|
||||||
- identity.api
|
|
||||||
- rabbitmq
|
|
||||||
- ordering.api
|
|
||||||
- marketing.api
|
|
||||||
- catalog.api
|
|
||||||
- basket.api
|
|
||||||
|
|
||||||
webmarketingapigw:
|
|
||||||
image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: ApiGateways/ApiGw-Base/Dockerfile
|
|
||||||
depends_on:
|
|
||||||
- nosql.data
|
|
||||||
- sql.data
|
|
||||||
- identity.api
|
|
||||||
- rabbitmq
|
|
||||||
- ordering.api
|
|
||||||
- marketing.api
|
|
||||||
- catalog.api
|
|
||||||
- basket.api
|
|
||||||
|
|
||||||
mobileshoppingagg:
|
mobileshoppingagg:
|
||||||
image: ${REGISTRY:-eshop}/mobileshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/mobileshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
@ -164,14 +134,14 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile
|
dockerfile: ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- nosql.data
|
- nosqldata
|
||||||
- sql.data
|
- sqldata
|
||||||
- identity.api
|
- identity-api
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
- ordering.api
|
- ordering-api
|
||||||
- marketing.api
|
- marketing-api
|
||||||
- catalog.api
|
- catalog-api
|
||||||
- basket.api
|
- basket-api
|
||||||
|
|
||||||
webshoppingagg:
|
webshoppingagg:
|
||||||
image: ${REGISTRY:-eshop}/webshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/webshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
@ -179,29 +149,29 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile
|
dockerfile: ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- nosql.data
|
- nosqldata
|
||||||
- sql.data
|
- sqldata
|
||||||
- identity.api
|
- identity-api
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
- ordering.api
|
- ordering-api
|
||||||
- marketing.api
|
- marketing-api
|
||||||
- catalog.api
|
- catalog-api
|
||||||
- basket.api
|
- basket-api
|
||||||
|
|
||||||
ordering.signalrhub:
|
ordering-signalrhub:
|
||||||
image: ${REGISTRY:-eshop}/ordering.signalrhub:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/ordering.signalrhub:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Services/Ordering/Ordering.SignalrHub/Dockerfile
|
dockerfile: Services/Ordering/Ordering.SignalrHub/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- nosql.data
|
- nosqldata
|
||||||
- sql.data
|
- sqldata
|
||||||
- identity.api
|
- identity-api
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
- ordering.api
|
- ordering-api
|
||||||
- marketing.api
|
- marketing-api
|
||||||
- catalog.api
|
- catalog-api
|
||||||
- basket.api
|
- basket-api
|
||||||
|
|
||||||
webstatus:
|
webstatus:
|
||||||
image: ${REGISTRY:-eshop}/webstatus:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/webstatus:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
@ -231,13 +201,16 @@ services:
|
|||||||
- webshoppingapigw
|
- webshoppingapigw
|
||||||
- webmarketingapigw
|
- webmarketingapigw
|
||||||
|
|
||||||
webhooks.client:
|
webhooks-client:
|
||||||
image: ${REGISTRY:-eshop}/webhooks.client:${PLATFORM:-linux}-${TAG:-latest}
|
image: ${REGISTRY:-eshop}/webhooks.client:${PLATFORM:-linux}-${TAG:-latest}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Web/WebhookClient/Dockerfile
|
dockerfile: Web/WebhookClient/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- webhooks.api
|
- webhooks-api
|
||||||
|
|
||||||
envoy:
|
webshoppingapigw:
|
||||||
image: envoyproxy/envoy
|
image: envoyproxy/envoy:v1.11.1
|
||||||
|
|
||||||
|
webmarketingapigw:
|
||||||
|
image: envoyproxy/envoy:v1.11.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user