From 1c78f79184aa9a7e0f774cf5e0b3e2f8257c3e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luukas=20P=C3=B6rtfors?= Date: Sat, 24 Aug 2024 16:45:20 +0300 Subject: [PATCH] feat: add new invoice app settings --- modules/invoicing/main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/invoicing/main.tf b/modules/invoicing/main.tf index e9bfda9..969fd65 100644 --- a/modules/invoicing/main.tf +++ b/modules/invoicing/main.tf @@ -45,7 +45,8 @@ resource "azurerm_linux_web_app" "invoice_generator" { app_settings = { PORT = 3000 WEBSITES_PORT = 3000 - EXPOSE = 1 + BIND_ADDR = "0.0.0.0" + ALLOWED_ORIGINS = "http://localhost:3000,https://tietokilta.fi" RUST_LOG = "laskugeneraattori=debug,tower_http=debug,axum::rejection=trace" MAILGUN_URL = var.mailgun_url MAILGUN_USER = var.mailgun_user