Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

✨(summary) configurable s3 region

Florent Chehab8b22059b18c2
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