From 20e04819b119aba5bf3a61105ada10d1e269252b Mon Sep 17 00:00:00 2001 From: Noah Spannbauer Date: Sat, 18 Jan 2025 10:10:37 -0600 Subject: [PATCH] Refactoring --- api/package.json | 2 +- app/package.json | 2 +- infrastructure/main.tf | 7 +++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/api/package.json b/api/package.json index 4bb16a5..934ee1b 100644 --- a/api/package.json +++ b/api/package.json @@ -1,6 +1,6 @@ { "name": "api", - "version": "0.0.14", + "version": "0.0.15", "description": "", "author": "", "private": true, diff --git a/app/package.json b/app/package.json index a61ecb5..120c0f6 100644 --- a/app/package.json +++ b/app/package.json @@ -1,7 +1,7 @@ { "name": "app", "private": true, - "version": "0.0.7", + "version": "0.0.8", "type": "module", "scripts": { "dev": "vite", diff --git a/infrastructure/main.tf b/infrastructure/main.tf index 7e74683..777db35 100644 --- a/infrastructure/main.tf +++ b/infrastructure/main.tf @@ -30,8 +30,7 @@ resource "azurerm_container_app" "container_app_api" { dapr { app_id = module.environment.container_app_api_dapr_app_id - app_port = 80 - app_protocol = "http" + app_port = 3000 } template { @@ -49,7 +48,7 @@ resource "azurerm_container_app" "container_app_api" { ingress { allow_insecure_connections = false external_enabled = true - target_port = 80 + target_port = 3000 transport = "auto" traffic_weight { @@ -95,7 +94,7 @@ resource "azurerm_container_app" "container_app_app" { ingress { allow_insecure_connections = false external_enabled = true - target_port = 80 + target_port = 8080 transport = "auto" traffic_weight {