Refactoring
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "api",
|
"name": "api",
|
||||||
"version": "0.0.14",
|
"version": "0.0.15",
|
||||||
"description": "",
|
"description": "",
|
||||||
"author": "",
|
"author": "",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user