Fix Cloud Run: remove reserved PORT env, increase startup probe tolerance

This commit is contained in:
Will Anderson
2026-04-25 23:36:28 -05:00
parent 7adab317d4
commit 36cfd3738d
3 changed files with 7 additions and 34 deletions
+7 -7
View File
@@ -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