|
version: '3.4'
|
|
|
|
services:
|
|
rabbitmq-test:
|
|
ports:
|
|
- "15672:15672"
|
|
- "5672:5672"
|
|
|
|
sql-data-test:
|
|
environment:
|
|
- SA_PASSWORD=Pass@word
|
|
- ACCEPT_EULA=Y
|
|
ports:
|
|
- "5433:1433"
|
|
|
|
nosql-data-test:
|
|
ports:
|
|
- "27017:27017"
|
|
|
|
basket-data-test:
|
|
ports:
|
|
- "6379:6379"
|
|
|
|
identity-api-test:
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
- SpaClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5104
|
|
- XamarinCallback=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105/xamarincallback
|
|
- ConnectionString=${ESHOP_AZURE_IDENTITY_DB:-Server=sql-data-test;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word}
|
|
- MvcClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5100
|
|
- LocationApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5109
|
|
- MarketingApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5110
|
|
- BasketApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5103
|
|
- OrderingApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5102
|
|
- MobileShoppingAggClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5120
|
|
- WebShoppingAggClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5121
|
|
- UseCustomizationData=True
|
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
|
ports:
|
|
- "5105:80"
|
|
|
|
basket-api-test:
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
- ConnectionString=${ESHOP_AZURE_REDIS_BASKET_DB:-basket-data-test}
|
|
- identityUrl=http://identity-api
|
|
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq-test}
|
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
|
- AzureServiceBusEnabled=False
|
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
|
- UseLoadTest=${USE_LOADTEST:-False}
|
|
ports:
|
|
- "5103:80"
|
|
entrypoint:
|
|
- dotnet
|
|
- test
|
|
- --logger
|
|
- trx;LogFileName=basket-test-results.xml
|
|
|
|
catalog-api-test:
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
- ConnectionString=${ESHOP_AZURE_CATALOG_DB:-Server=sql-data-test;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/}
|
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq-test}
|
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
|
- AzureStorageAccountName=${ESHOP_AZURE_STORAGE_CATALOG_NAME}
|
|
- AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_CATALOG_KEY}
|
|
- UseCustomizationData=True
|
|
- AzureServiceBusEnabled=False
|
|
- AzureStorageEnabled=False
|
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
|
ports:
|
|
- "5101:80"
|
|
entrypoint:
|
|
- dotnet
|
|
- test
|
|
- --logger
|
|
- trx;LogFileName=catalog-test-results.xml
|
|
|
|
ordering-api-test:
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql-data-test;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
|
|
- identityUrl=http://identity-api
|
|
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq-test}
|
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
|
- UseCustomizationData=True
|
|
- AzureServiceBusEnabled=False
|
|
- CheckUpdateTime=30000
|
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
|
- UseLoadTest=${USE_LOADTEST:-False}
|
|
ports:
|
|
- "5102:80"
|
|
entrypoint:
|
|
- dotnet
|
|
- test
|
|
- --logger
|
|
- trx;LogFileName=ordering-test-results.xml
|
|
|
|
ordering-backgroundtasks-test:
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql-data-test;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
|
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq-test}
|
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
|
- UseCustomizationData=True
|
|
- AzureServiceBusEnabled=False
|
|
- CheckUpdateTime=30000
|
|
- GracePeriodTime=1
|
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
|
- UseLoadTest=${USE_LOADTEST:-False}
|
|
ports:
|
|
- "5111:80"
|
|
|
|
marketing-api-test:
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
- ConnectionString=${ESHOP_AZURE_MARKETING_DB:-Server=sql-data-test;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word}
|
|
- MongoConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql-data-test}
|
|
- MongoDatabase=MarketingDb
|
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq-test}
|
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
|
- identityUrl=http://identity-api
|
|
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
|
- CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI}
|
|
- PicBaseUrl=${ESHOP_AZURE_STORAGE_MARKETING_URL:-http://localhost:5110/api/v1/campaigns/[0]/pic/}
|
|
- AzureStorageAccountName=${ESHOP_AZURE_STORAGE_MARKETING_NAME}
|
|
- AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_MARKETING_KEY}
|
|
- AzureServiceBusEnabled=False
|
|
- AzureStorageEnabled=False
|
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
|
- UseLoadTest=${USE_LOADTEST:-False}
|
|
ports:
|
|
- "5110:80"
|
|
entrypoint:
|
|
- dotnet
|
|
- test
|
|
- --logger:trx;LogFileName=marketing-test-results.xml
|
|
|
|
payment-api-test:
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq-test}
|
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
|
- AzureServiceBusEnabled=False
|
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
|
ports:
|
|
- "5108:80"
|
|
|
|
locations-api-test:
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
- ConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql-data-test}
|
|
- Database=LocationsDb
|
|
- identityUrl=http://identity-api
|
|
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq-test}
|
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
|
- AzureServiceBusEnabled=False
|
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
|
- UseLoadTest=${USE_LOADTEST:-False}
|
|
ports:
|
|
- "5109:80"
|
|
entrypoint:
|
|
- dotnet
|
|
- test
|
|
- --logger:trx;LogFileName=locations-test-results.xml
|