diff --git a/servers/gcp/cloud-run-accounts.tf b/servers/gcp/cloud-run-accounts.tf index 257a8f7..4c82315 100644 --- a/servers/gcp/cloud-run-accounts.tf +++ b/servers/gcp/cloud-run-accounts.tf @@ -43,11 +43,6 @@ resource "google_cloud_run_v2_service" "accounts_us" { name = "ENV" value = "production" } - env { - name = "PORT" - value = "8080" - } - env { name = "ACCOUNTS_DATABASE_URL" value_source { @@ -188,11 +183,6 @@ resource "google_cloud_run_v2_service" "accounts_eu" { name = "ENV" value = "production" } - env { - name = "PORT" - value = "8080" - } - env { name = "ACCOUNTS_DATABASE_URL" value_source { @@ -331,11 +321,6 @@ resource "google_cloud_run_v2_service" "accounts_apac" { name = "ENV" value = "production" } - env { - name = "PORT" - value = "8080" - } - env { name = "ACCOUNTS_DATABASE_URL" value_source { diff --git a/servers/gcp/cloud-run-api.tf b/servers/gcp/cloud-run-api.tf index d956916..6aadd9f 100644 --- a/servers/gcp/cloud-run-api.tf +++ b/servers/gcp/cloud-run-api.tf @@ -42,10 +42,6 @@ resource "google_cloud_run_v2_service" "api_us" { name = "ENV" value = "production" } - env { - name = "PORT" - value = "8080" - } env { name = "ACCOUNTS_SERVICE_URL" value = "https://accounts.neurontechnologies.ai" @@ -143,10 +139,6 @@ resource "google_cloud_run_v2_service" "api_eu" { name = "ENV" value = "production" } - env { - name = "PORT" - value = "8080" - } env { name = "ACCOUNTS_SERVICE_URL" value = "https://accounts.neurontechnologies.ai" @@ -241,10 +233,6 @@ resource "google_cloud_run_v2_service" "api_apac" { name = "ENV" value = "production" } - env { - name = "PORT" - value = "8080" - } env { name = "ACCOUNTS_SERVICE_URL" value = "https://accounts.neurontechnologies.ai" diff --git a/servers/gcp/cloud-run.tf b/servers/gcp/cloud-run.tf index 660679d..047fb88 100644 --- a/servers/gcp/cloud-run.tf +++ b/servers/gcp/cloud-run.tf @@ -100,10 +100,10 @@ resource "google_cloud_run_v2_service" "prod_us" { path = "/api/health" port = 3000 } - initial_delay_seconds = 5 + initial_delay_seconds = 10 timeout_seconds = 5 period_seconds = 10 - failure_threshold = 3 + failure_threshold = 10 } liveness_probe { @@ -214,10 +214,10 @@ resource "google_cloud_run_v2_service" "prod_eu" { path = "/api/health" port = 3000 } - initial_delay_seconds = 5 + initial_delay_seconds = 10 timeout_seconds = 5 period_seconds = 10 - failure_threshold = 3 + failure_threshold = 10 } liveness_probe { @@ -328,10 +328,10 @@ resource "google_cloud_run_v2_service" "prod_apac" { path = "/api/health" port = 3000 } - initial_delay_seconds = 5 + initial_delay_seconds = 10 timeout_seconds = 5 period_seconds = 10 - failure_threshold = 3 + failure_threshold = 10 } liveness_probe { @@ -448,7 +448,7 @@ resource "google_cloud_run_v2_service" "stage" { path = "/api/health" port = 3000 } - initial_delay_seconds = 5 + initial_delay_seconds = 10 timeout_seconds = 5 period_seconds = 10 failure_threshold = 5