File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -245,6 +245,7 @@ resource appServiceWeb 'Microsoft.Web/sites@2022-03-01' = {
245245 siteConfig : {
246246 linuxFxVersion : 'NODE|20-lts'
247247 appCommandLine : 'pm2 serve /home/site/wwwroot/dist --no-daemon --spa'
248+ alwaysOn : true
248249 }
249250 }
250251}
@@ -306,6 +307,7 @@ resource appServiceApi 'Microsoft.Web/sites@2022-03-01' = {
306307 httpsOnly : true
307308 siteConfig : {
308309 linuxFxVersion : 'PYTHON|3.12'
310+ alwaysOn : true
309311 }
310312 }
311313}
@@ -317,6 +319,10 @@ resource appServiceApiSettings 'Microsoft.Web/sites/config@2022-03-01' = {
317319 properties : {
318320 ENABLE_ORYX_BUILD : 'true'
319321 SCM_DO_BUILD_DURING_DEPLOYMENT : 'true'
322+ WEBSITE_ENABLE_DEFAULT_CODE_PROFILER : 'true'
323+ APPINSIGHTS_INSTRUMENTATIONKEY : appServiceWebInsights .properties .InstrumentationKey
324+ APPINSIGHTS_PROFILERFEATURE_VERSION : '1.0.0'
325+ DiagnosticServices_EXTENSION_VERSION : '~3'
320326 OPENAI__ENDPOINT : openAiAccount .properties .endpoint
321327 OPENAI__KEY : openAiAccount .listKeys ().key1
322328 OPENAI__EMBEDDINGSDEPLOYMENT : openAiEmbeddingsModelDeployment .name
You can’t perform that action at this time.
0 commit comments