Add note on gcs config to config file

This commit is contained in:
Simon Detheridge 2020-02-12 11:02:05 +00:00
parent 2cfab8d313
commit 9dddf25209

View file

@ -31,6 +31,7 @@ settings =
# Choices are # Choices are
# s3 - Amazon S3 # s3 - Amazon S3
# fs - local filesystem # fs - local filesystem
# gcs - Google Cloud Storage
backend: process.env['BACKEND'] backend: process.env['BACKEND']
s3: s3:
@ -41,6 +42,9 @@ settings =
pathStyle: process.env['AWS_S3_PATH_STYLE'] 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)
# GCS should be configured by the service account on the kubernetes pod. See GOOGLE_APPLICATION_CREDENTIALS,
# which will be picked up automatically.
stores: stores:
user_files: process.env['USER_FILES_BUCKET_NAME'] user_files: process.env['USER_FILES_BUCKET_NAME']
template_files: process.env['TEMPLATE_FILES_BUCKET_NAME'] template_files: process.env['TEMPLATE_FILES_BUCKET_NAME']