about summary refs log tree commit diff
path: root/.env.production.sample
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2019-09-23 22:37:45 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-09-23 15:37:45 +0200
commit172eaeba3fd217228dead279712aecce8c3ac080 (patch)
tree1a661c701736bd98341b2679c17eb57f2e40bcea /.env.production.sample
parent637cc7bf78d054c8e8cb5ab9fa6e63bac0dfd555 (diff)
Add config of multipart threshold for S3 (#11924)
Diffstat (limited to '.env.production.sample')
-rw-r--r--.env.production.sample14
1 files changed, 14 insertions, 0 deletions
diff --git a/.env.production.sample b/.env.production.sample
index b322aee1d..e4ea861e7 100644
--- a/.env.production.sample
+++ b/.env.production.sample
@@ -115,6 +115,20 @@ SMTP_FROM_ADDRESS=notifications@example.com
 # S3_ENDPOINT=
 # S3_SIGNATURE_VERSION=
 
+# Google Cloud Storage (optional)
+# Use S3 compatible API. Since GCS does not support Multipart Upload,
+# increase the value of S3_MULTIPART_THRESHOLD to disable Multipart Upload.
+# The attachment host must allow cross origin request - see the description
+# above.
+# S3_ENABLED=true
+# AWS_ACCESS_KEY_ID=
+# AWS_SECRET_ACCESS_KEY=
+# S3_REGION=
+# S3_PROTOCOL=https
+# S3_HOSTNAME=storage.googleapis.com
+# S3_ENDPOINT=https://storage.googleapis.com
+# S3_MULTIPART_THRESHOLD=52428801 # 50.megabytes
+
 # Swift (optional)
 # The attachment host must allow cross origin request - see the description
 # above.