From 8b22059b18c25c3a4baffc7528b38e39a33bf6f3 Mon Sep 17 00:00:00 2001 From: Florent Chehab Date: Thu, 20 Aug 2026 12:41:48 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(summary)=20configurable=20s3=20region?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When using other S3 providers than minio, We neeed to configure the region --- CHANGELOG.md | 1 + src/summary/summary/core/config.py | 1 + src/summary/summary/core/file_service.py | 1 + 3 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5490f8cb..6e74e981 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to ### Changed - ✨(backend) accept form-urlencoded on the user token endpoint +- ✨(summary) configurable s3 region - ⬆️(frontend) upgrade i18next and react-i18next patch versions - ⬆️(frontend) upgrade posthog-js from 1.395.0 to 1.404.1 - ⬆️(frontend) upgrade livekit-client and @livekit/components-react diff --git a/src/summary/summary/core/config.py b/src/summary/summary/core/config.py index 4afb377e..65010f01 100644 --- a/src/summary/summary/core/config.py +++ b/src/summary/summary/core/config.py @@ -83,6 +83,7 @@ class Settings(BaseSettings): aws_s3_access_key_id: str aws_s3_secret_access_key: SecretStr aws_s3_secure_access: bool = True + aws_S3_region_name: str | None = None aws_transcript_path: str = "transcripts" aws_summary_path: str = "summaries" diff --git a/src/summary/summary/core/file_service.py b/src/summary/summary/core/file_service.py index 3c10f26d..6e5a48e0 100644 --- a/src/summary/summary/core/file_service.py +++ b/src/summary/summary/core/file_service.py @@ -282,6 +282,7 @@ class FileService: access_key=settings.aws_s3_access_key_id, secret_key=settings.aws_s3_secret_access_key.get_secret_value(), secure=settings.aws_s3_secure_access, + region=settings.aws_S3_region_name, ) self._bucket_name = settings.aws_storage_bucket_name