Add optional gcs config to override gcs settings (for fake gcs server)

This commit is contained in:
Simon Detheridge 2020-03-05 17:23:47 +00:00
parent eb93ae4b10
commit 2509b51883

View file

@ -34,6 +34,12 @@ settings =
# gcs - Google Cloud Storage
backend: process.env['BACKEND']
gcs:
if process.env['GCS_API_ENDPOINT']
apiEndpoint: process.env['GCS_API_ENDPOINT']
apiScheme: process.env['GCS_API_SCHEME']
projectId: process.env['GCS_PROJECT_ID']
s3:
if process.env['AWS_ACCESS_KEY_ID']? or process.env['S3_BUCKET_CREDENTIALS']?
key: process.env['AWS_ACCESS_KEY_ID']