dev: update backend to talk to previewer
This commit is contained in:
Родитель
45cb9c2834
Коммит
e8e0fdb616
|
@ -68,6 +68,7 @@ resource "azurerm_linux_web_app" "cx_backend" {
|
|||
"AZURE_COSMOS_CONNECTIONSTRING" = azurerm_cosmosdb_account.cx_backend.connection_strings[0]
|
||||
"CX_CORS_ORIGINS" = "https://${var.tld}"
|
||||
"CX_PREVIEW_BASE_URL" = "https://${azurerm_cdn_endpoint_custom_domain.cxdata.host_name}/previews"
|
||||
"CX_PREVIEW_SERVICE_URL" = "http://${azurerm_private_dns_a_record.cx_previewer_server.name}.azurewebsites.net"
|
||||
"CX_SESSION_SECRETS" = var.sessionSecrets
|
||||
"CX_SUPERUSER_ACCOUNT_ID" = var.superuserAccountId
|
||||
"KEYCLOAK_URL" = "https://${var.tld}/auth/"
|
||||
|
@ -80,6 +81,18 @@ resource "azurerm_linux_web_app" "cx_backend" {
|
|||
app_command_line = "yarn start"
|
||||
}
|
||||
|
||||
logs {
|
||||
detailed_error_messages = false
|
||||
failed_request_tracing = false
|
||||
|
||||
http_logs {
|
||||
file_system {
|
||||
retention_in_days = 0
|
||||
retention_in_mb = 35
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
virtual_network_subnet_id = azurerm_subnet.cx_backend_app.id
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче