Skip to content

Commit e9cb592

Browse files
authored
Add application stack configuration for Docker
1 parent 106c4fc commit e9cb592

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

terraform-infrastructure/main.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,12 @@ resource "azurerm_linux_web_app" "app" {
290290
always_on = false
291291
http2_enabled = true
292292
minimum_tls_version = "1.2"
293+
application_stack {
294+
docker_image_name = "zava-chat-app:latest"
295+
docker_registry_url = "https://${local.registry_name}.azurecr.io"
296+
docker_registry_username = azurerm_container_registry.acr.admin_username
297+
docker_registry_password = azurerm_container_registry.acr.admin_password
298+
}
293299
}
294300

295301
app_settings = {

0 commit comments

Comments
 (0)