new version using ZIP Deploy
This commit is contained in:
parent
ad6182f4bd
commit
f706ccfd87
@ -208,14 +208,11 @@
|
||||
// Web App
|
||||
// ------------------------------------------------------
|
||||
{
|
||||
"type": "Microsoft.Web/sites",
|
||||
"apiVersion": "2022-03-01",
|
||||
"name": "[parameters('BlazorWebsiteName')]",
|
||||
"type": "Microsoft.Web/sites",
|
||||
"kind": "app",
|
||||
"location": "[parameters('location')]",
|
||||
"dependsOn": [
|
||||
"[variables('hostingPlanName')]"
|
||||
],
|
||||
"tags": {
|
||||
"[concat('hidden-related:', resourceId('Microsoft.Web/serverfarms', variables('hostingPlanName')))]": "empty",
|
||||
"displayName": "Website"
|
||||
@ -224,33 +221,25 @@
|
||||
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('hostingPlanName'))]",
|
||||
"siteConfig": {
|
||||
"webSocketsEnabled": true,
|
||||
"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"
|
||||
}
|
||||
]
|
||||
"netFrameworkVersion": "v9.0"
|
||||
}
|
||||
},
|
||||
"dependsOn": [
|
||||
"[variables('hostingPlanName')]"
|
||||
],
|
||||
"resources": [
|
||||
// --------------------------------------------------
|
||||
// Connection Strings (to use FQDN)
|
||||
// ZIP Deploy
|
||||
// --------------------------------------------------
|
||||
{
|
||||
"type": "config",
|
||||
"apiVersion": "2022-03-01",
|
||||
"name": "connectionstrings",
|
||||
"type": "Microsoft.Web/sites/extensions",
|
||||
"apiVersion": "2024-04-01",
|
||||
"name": "[concat(parameters('BlazorWebsiteName'), '/ZipDeploy')]",
|
||||
"properties": {
|
||||
"packageUri": "https://github.com/oqtane/oqtane.framework/releases/download/v6.1.1/Oqtane.Framework.6.1.1.Install.zip"
|
||||
},
|
||||
"dependsOn": [
|
||||
"[resourceId('Microsoft.Web/sites', parameters('BlazorWebsiteName'))]"
|
||||
],
|
||||
"properties": {
|
||||
"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