Fixing Azure Deployment scripts config plus improvements in docker-compose.override,yml
This commit is contained in:
parent
96c17ee09f
commit
f61d979505
@ -1,5 +1,9 @@
|
||||
{
|
||||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {}
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"SitesEshopfunctionsName": {
|
||||
"value": "eshopfunctionsapp"
|
||||
}
|
||||
}
|
||||
}
|
@ -7,11 +7,14 @@
|
||||
},
|
||||
"profileName" : {
|
||||
"type": "string"
|
||||
},
|
||||
"endpointName" : {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"variables": {
|
||||
"catalogstorage": "[concat(parameters('catalogstorage'), uniqueString(resourceGroup().id))]",
|
||||
"endpointName": "[concat('endpoint-', uniqueString(resourceGroup().id))]",
|
||||
"endpointName": "[concat(parameters('endpointName'), uniqueString(resourceGroup().id))]",
|
||||
"profileName": "[parameters('profileName')]"
|
||||
},
|
||||
"resources": [
|
||||
|
@ -7,6 +7,9 @@
|
||||
},
|
||||
"profileName":{
|
||||
"value": "eshopcatalog"
|
||||
},
|
||||
"endpointName":{
|
||||
"value": "catalog-endpoint"
|
||||
}
|
||||
}
|
||||
}
|
@ -7,11 +7,14 @@
|
||||
},
|
||||
"profileName" : {
|
||||
"type": "string"
|
||||
},
|
||||
"endpointName" : {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"variables": {
|
||||
"marketingstorage": "[concat(parameters('marketingstorage'), uniqueString(resourceGroup().id))]",
|
||||
"endpointName": "[concat('endpoint-', uniqueString(resourceGroup().id))]",
|
||||
"endpointName": "[concat(parameters('endpointName'), uniqueString(resourceGroup().id))]",
|
||||
"profileName": "[parameters('profileName')]"
|
||||
},
|
||||
"resources": [
|
||||
|
@ -7,6 +7,9 @@
|
||||
},
|
||||
"profileName":{
|
||||
"value": "eshopmarketing"
|
||||
},
|
||||
"endpointName":{
|
||||
"value": "marketing-endpoint"
|
||||
}
|
||||
}
|
||||
}
|
@ -25,7 +25,7 @@ services:
|
||||
- ASPNETCORE_ENVIRONMENT=Development
|
||||
- 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}
|
||||
- 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_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}
|
||||
- AzureStorageAccountName=${ESHOP_AZURE_STORAGE_CATALOG_NAME}
|
||||
- AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_CATALOG_KEY}
|
||||
@ -75,7 +75,7 @@ services:
|
||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||
- IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||
- CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI}
|
||||
- PicBaseUrl=${ESHOP_AZURE_STORAGE_MARKETING:-http://localhost:5110/api/v1/campaigns/[0]/pic/}
|
||||
- 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
|
||||
@ -87,7 +87,7 @@ services:
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Development
|
||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||
- ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word
|
||||
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
|
||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||
- AzureServiceBusEnabled=False
|
||||
|
||||
|
@ -29,7 +29,7 @@ services:
|
||||
- ASPNETCORE_ENVIRONMENT=Production
|
||||
- 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}
|
||||
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG} #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG_URL} #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||
- AzureStorageAccountName=${ESHOP_AZURE_STORAGE_CATALOG_NAME}
|
||||
- AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_CATALOG_KEY}
|
||||
@ -76,7 +76,7 @@ services:
|
||||
- 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
|
||||
- CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI}
|
||||
- PicBaseUrl=${ESHOP_AZURE_STORAGE_MARKETING}
|
||||
- PicBaseUrl=${ESHOP_AZURE_STORAGE_MARKETING_URL}
|
||||
- AzureStorageAccountName=${ESHOP_AZURE_STORAGE_MARKETING_NAME}
|
||||
- AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_MARKETING_KEY}
|
||||
ports:
|
||||
|
@ -64,8 +64,11 @@ services:
|
||||
context: ./src/Web/WebSPA
|
||||
dockerfile: Dockerfile
|
||||
depends_on:
|
||||
- catalog.api
|
||||
- ordering.api
|
||||
- identity.api
|
||||
- basket.api
|
||||
- marketing.api
|
||||
|
||||
webmvc:
|
||||
image: eshop/webmvc:${TAG:-latest}
|
||||
|
Loading…
x
Reference in New Issue
Block a user