Azurerm_app_service fails to create an app service with container settings

resource “azurerm_app_service” “schedular” {

name = “xxxx”

location = “${var.location}”

resource_group_name = “${data.azurerm_resource_group.mvp_resourcegroup.name}”

app_service_plan_id = “${azurerm_app_service_plan.ecs_linuxplan.id}”

site_config {

always_on                  = true

app_command_line           = ""

dotnet_framework_version   = "v4.0"

min_tls_version            = "1.2"

linux_fx_version           = "COMPOSE|${filebase64("docker-compose.yml")}"

}

app_settings = {

  "DOCKER_REGISTRY_SERVER_PASSWORD"     = "xxxxxx"

  "DOCKER_REGISTRY_SERVER_URL"          = "xxxx"

  "DOCKER_REGISTRY_SERVER_USERNAME"     = "xxx"

  "WEBSITES_ENABLE_APP_SERVICE_STORAGE" = "false"

}

}

When running this terraform, im getting an app service without any container settings.