Allow save object to S3 in different region (#910)

* Allow save object to S3 in different region

* feat(helm & docker-compose): adds S3_REGION to helm chart & docker-compose

Explicitly adding the environment variable to deployment configuration files provides system operators with documentation of its existence.

Set to empty by default, which will result in the default value being used.

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
This commit is contained in:
Peter Grainger
2022-08-15 13:24:30 +01:00
committed by GitHub
parent 0084102d0d
commit 72d27b9a7c
7 changed files with 11 additions and 1 deletions
+2
View File
@@ -39,6 +39,7 @@ services:
S3_SECRET_KEY: 'minioadmin'
S3_BUCKET: 'speckle-server'
S3_CREATE_BUCKET: 'true'
S3_REGION: '' # optional, defaults to 'us-east-1'
FILE_SIZE_LIMIT_MB: 100
preview-service:
@@ -77,5 +78,6 @@ services:
S3_ACCESS_KEY: 'minioadmin'
S3_SECRET_KEY: 'minioadmin'
S3_BUCKET: 'speckle-server'
S3_REGION: '' # optional, defaults to 'us-east-1'
SPECKLE_SERVER_URL: 'http://speckle-server:3000'