From de48ba220677f4024fc92b2b8ba66f3980a550f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Rodrigues?= Date: Fri, 26 Jun 2026 22:17:48 +0100 Subject: [PATCH] fix(infra): switch MongoDB to v7 to fix ARM64 segfault mongo:8 was crashing with exit code 139 (SIGSEGV) on the Hetzner CAX11 ARM64 instance. Switch to mongo:7 (LTS) which has more stable ARM64 support. Also remove the --wiredTigerCacheSizeGB=0.25 arg since the 512Mi memory limit already bounds memory use adequately. Co-Authored-By: Claude Sonnet 4.6 --- infrastructure/terraform/mongodb.tf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/infrastructure/terraform/mongodb.tf b/infrastructure/terraform/mongodb.tf index 23ef90a..96a7ddd 100644 --- a/infrastructure/terraform/mongodb.tf +++ b/infrastructure/terraform/mongodb.tf @@ -76,8 +76,7 @@ resource "kubernetes_stateful_set" "mongodb" { spec { container { name = "mongodb" - image = "mongo:8" - args = ["--wiredTigerCacheSizeGB=0.25"] + image = "mongo:7" env { name = "MONGO_INITDB_ROOT_USERNAME"