From dd7a64d11e660e67f45ad29aad1f927fcd5f11f8 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Sun, 23 Apr 2023 12:22:31 -0400 Subject: [PATCH] dev/constellations-previewer.tf: try to set up with actual previewer Docker image --- dev/constellations-previewer.tf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev/constellations-previewer.tf b/dev/constellations-previewer.tf index 488c2ee..0bdb401 100644 --- a/dev/constellations-previewer.tf +++ b/dev/constellations-previewer.tf @@ -13,7 +13,6 @@ resource "azurerm_linux_web_app" "cx_previewer" { "AZURE_COSMOS_CONNECTIONSTRING" = azurerm_cosmosdb_account.cx_backend.connection_strings[0] "AZURE_STORAGE_CONNECTION_STRING" = azurerm_storage_account.constellations.primary_connection_string "NUXT_PUBLIC_API_URL" = "https://api.${var.tld}" - "DOCKER_ENABLE_CI" = "true" "DOCKER_REGISTRY_SERVER_URL" = "https://index.docker.io/v1" } @@ -22,6 +21,11 @@ resource "azurerm_linux_web_app" "cx_previewer" { ftps_state = "FtpsOnly" vnet_route_all_enabled = true app_command_line = "node server/dist/server.js" + + application_stack { + docker_image = "aasworldwidetelescope/constellations-previewer" + docker_image_tag = "latest" + } } }