1 Star 0 Fork 0

cacotopia/vc-storefront

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
azuredeploy.json 4.50 KB
一键复制 编辑 原始数据 按行查看 历史
cacotopia 提交于 2017-03-06 20:46 . initialize from v2.19.0
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"siteName": {
"type": "string"
},
"siteLocation": {
"type": "string",
"defaultValue": "West US"
},
"sku": {
"type": "string",
"allowedValues": [
"Free",
"Shared",
"Basic",
"Standard"
],
"defaultValue": "Free"
},
"virtoCommerceManagerUrl": {
"type": "string"
},
"virtoCommerceApiHmacAppId": {
"type": "string"
},
"virtoCommerceApiHmacSecretKey": {
"type": "string"
},
"contentStorageConnectionString": {
"type": "string"
},
"repoUrl": {
"type": "string"
},
"branch": {
"type": "string"
},
"hostingPlanName": {
"type": "string"
},
"workerSize": {
"type": "string",
"allowedValues": [
"0",
"1",
"2"
],
"defaultValue": "0"
}
},
"resources": [
{
"type": "Microsoft.Web/serverfarms",
"name": "[parameters('hostingPlanName')]",
"location": "[parameters('siteLocation')]",
"apiVersion": "2014-06-01",
"properties": {
"name": "[parameters('hostingPlanName')]",
"sku": "[parameters('sku')]",
"workerSize": "[parameters('workerSize')]",
"numberOfWorkers": 1
}
},
{
"type": "Microsoft.Web/sites",
"name": "[parameters('siteName')]",
"location": "[parameters('siteLocation')]",
"apiVersion": "2014-06-01",
"dependsOn": [
"[concat('Microsoft.Web/serverFarms/', parameters('hostingPlanName'))]"
],
"tags": {
"[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]": "empty"
},
"properties": {
"name": "[parameters('siteName')]",
"serverFarm": "[parameters('hostingPlanName')]"
},
"resources": [
{
"type": "config",
"name": "connectionstrings",
"apiVersion": "2014-11-01",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', parameters('siteName'))]"
],
"properties": {
"VirtoCommerceBaseUrl": {
"value": "[parameters('virtoCommerceManagerUrl')]",
"type": "custom"
},
"ContentConnectionString": {
"value": "[parameters('contentStorageConnectionString')]",
"type": "custom"
}
}
},
{
"type": "config",
"name": "appsettings",
"apiVersion": "2014-11-01",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', parameters('siteName'))]"
],
"properties": {
"vc-public-ApiAppId": "[parameters('virtoCommerceApiHmacAppId')]",
"vc-public-ApiSecretKey": "[parameters('virtoCommerceApiHmacSecretKey')]"
}
},
{
"type": "sourcecontrols",
"name": "web",
"apiVersion": "2014-06-01",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', parameters('siteName'))]",
"[concat('Microsoft.Web/Sites/', parameters('siteName'), '/config/connectionstrings')]",
"[concat('Microsoft.Web/Sites/', parameters('siteName'), '/config/appsettings')]"
],
"properties": {
"RepoUrl": "[parameters('repoUrl')]",
"branch": "[parameters('branch')]",
"IsManualIntegration": true
}
}
]
}
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/fetishim/vc-storefront.git
git@gitee.com:fetishim/vc-storefront.git
fetishim
vc-storefront
vc-storefront
master

搜索帮助