Merge pull request #97 from overleaf/jpa-3rd-party-s3-via-env

[config] add support for third party s3 which uses path-style buckets
This commit is contained in:
Simon Detheridge 2020-03-04 09:59:48 +00:00 committed by GitHub
commit 467af9885a

View file

@ -38,6 +38,7 @@ settings =
key: process.env['AWS_ACCESS_KEY_ID'] key: process.env['AWS_ACCESS_KEY_ID']
secret: process.env['AWS_SECRET_ACCESS_KEY'] secret: process.env['AWS_SECRET_ACCESS_KEY']
endpoint: process.env['AWS_S3_ENDPOINT'] endpoint: process.env['AWS_S3_ENDPOINT']
pathStyle: process.env['AWS_S3_PATH_STYLE']
partSize: process.env['AWS_S3_PARTSIZE'] or (100 * 1024 * 1024) partSize: process.env['AWS_S3_PARTSIZE'] or (100 * 1024 * 1024)
stores: stores: