new version using ZIP Deploy
This commit is contained in:
parent
ad6182f4bd
commit
f706ccfd87
@ -208,14 +208,11 @@
|
|||||||
// Web App
|
// Web App
|
||||||
// ------------------------------------------------------
|
// ------------------------------------------------------
|
||||||
{
|
{
|
||||||
|
"type": "Microsoft.Web/sites",
|
||||||
"apiVersion": "2022-03-01",
|
"apiVersion": "2022-03-01",
|
||||||
"name": "[parameters('BlazorWebsiteName')]",
|
"name": "[parameters('BlazorWebsiteName')]",
|
||||||
"type": "Microsoft.Web/sites",
|
|
||||||
"kind": "app",
|
"kind": "app",
|
||||||
"location": "[parameters('location')]",
|
"location": "[parameters('location')]",
|
||||||
"dependsOn": [
|
|
||||||
"[variables('hostingPlanName')]"
|
|
||||||
],
|
|
||||||
"tags": {
|
"tags": {
|
||||||
"[concat('hidden-related:', resourceId('Microsoft.Web/serverfarms', variables('hostingPlanName')))]": "empty",
|
"[concat('hidden-related:', resourceId('Microsoft.Web/serverfarms', variables('hostingPlanName')))]": "empty",
|
||||||
"displayName": "Website"
|
"displayName": "Website"
|
||||||
@ -224,33 +221,25 @@
|
|||||||
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('hostingPlanName'))]",
|
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('hostingPlanName'))]",
|
||||||
"siteConfig": {
|
"siteConfig": {
|
||||||
"webSocketsEnabled": true,
|
"webSocketsEnabled": true,
|
||||||
"netFrameworkVersion": "v9.0",
|
"netFrameworkVersion": "v9.0"
|
||||||
"appSettings": [
|
|
||||||
{
|
|
||||||
"name": "WEBSITE_RUN_FROM_PACKAGE",
|
|
||||||
"value": "https://github.com/oqtane/oqtane.framework/releases/download/v6.1.1/Oqtane.Framework.6.1.1.Install.zip"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dependsOn": [
|
||||||
|
"[variables('hostingPlanName')]"
|
||||||
|
],
|
||||||
"resources": [
|
"resources": [
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
// Connection Strings (to use FQDN)
|
// ZIP Deploy
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
{
|
"type": "Microsoft.Web/sites/extensions",
|
||||||
"type": "config",
|
"apiVersion": "2024-04-01",
|
||||||
"apiVersion": "2022-03-01",
|
"name": "[concat(parameters('BlazorWebsiteName'), '/ZipDeploy')]",
|
||||||
"name": "connectionstrings",
|
"properties": {
|
||||||
"dependsOn": [
|
"packageUri": "https://github.com/oqtane/oqtane.framework/releases/download/v6.1.1/Oqtane.Framework.6.1.1.Install.zip"
|
||||||
"[resourceId('Microsoft.Web/sites', parameters('BlazorWebsiteName'))]"
|
},
|
||||||
],
|
"dependsOn": [
|
||||||
"properties": {
|
"[resourceId('Microsoft.Web/sites', parameters('BlazorWebsiteName'))]"
|
||||||
"DefaultConnection": {
|
]
|
||||||
"value": "[concat('Data Source=tcp:', reference(resourceId('Microsoft.Sql/servers', parameters('sqlServerName'))).fullyQualifiedDomainName, ',1433;Initial Catalog=', parameters('sqlDatabaseName'), ';User Id=', parameters('sqlAdministratorLogin'), '@', reference(resourceId('Microsoft.Sql/servers', parameters('sqlServerName'))).fullyQualifiedDomainName, ';Password=', parameters('sqlAdministratorLoginPassword'), ';')]",
|
|
||||||
"type": "SQLAzure"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user