Refactoring

This commit is contained in:
2025-01-18 10:10:37 -06:00
parent 6519fce266
commit 20e04819b1
3 changed files with 5 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "api", "name": "api",
"version": "0.0.14", "version": "0.0.15",
"description": "", "description": "",
"author": "", "author": "",
"private": true, "private": true,

View File

@@ -1,7 +1,7 @@
{ {
"name": "app", "name": "app",
"private": true, "private": true,
"version": "0.0.7", "version": "0.0.8",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@@ -30,8 +30,7 @@ resource "azurerm_container_app" "container_app_api" {
dapr { dapr {
app_id = module.environment.container_app_api_dapr_app_id app_id = module.environment.container_app_api_dapr_app_id
app_port = 80 app_port = 3000
app_protocol = "http"
} }
template { template {
@@ -49,7 +48,7 @@ resource "azurerm_container_app" "container_app_api" {
ingress { ingress {
allow_insecure_connections = false allow_insecure_connections = false
external_enabled = true external_enabled = true
target_port = 80 target_port = 3000
transport = "auto" transport = "auto"
traffic_weight { traffic_weight {
@@ -95,7 +94,7 @@ resource "azurerm_container_app" "container_app_app" {
ingress { ingress {
allow_insecure_connections = false allow_insecure_connections = false
external_enabled = true external_enabled = true
target_port = 80 target_port = 8080
transport = "auto" transport = "auto"
traffic_weight { traffic_weight {