summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2019-05-10 01:46:11 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-05-10 01:46:11 +0900
commitd3c3ad839b530e49aa1a48ec3fc72caef442ffd5 (patch)
treecbe938d6a1d3ed8b404cd6ad2855af2fee588ec5
parentResolve #4870 (diff)
downloadsharkey-d3c3ad839b530e49aa1a48ec3fc72caef442ffd5.tar.gz
sharkey-d3c3ad839b530e49aa1a48ec3fc72caef442ffd5.tar.bz2
sharkey-d3c3ad839b530e49aa1a48ec3fc72caef442ffd5.zip
Update ObjectStorage example (#4890)
-rw-r--r--.config/example.yml76
1 files changed, 45 insertions, 31 deletions
diff --git a/.config/example.yml b/.config/example.yml
index 8a626cc06d..db278ecc27 100644
--- a/.config/example.yml
+++ b/.config/example.yml
@@ -84,40 +84,54 @@ redis:
drive:
storage: 'fs'
- # OR
+# OR
- # storage: 'minio'
- # bucket:
- # prefix:
- # config:
- # endPoint:
- # port:
- # useSSL:
- # accessKey:
- # secretKey:
+#drive:
+# storage: 'minio'
+# bucket:
+# prefix:
+# config:
+# endPoint:
+# port:
+# useSSL:
+# accessKey:
+# secretKey:
- # S3 example
- # storage: 'minio'
- # bucket: bucket-name
- # prefix: files
- # config:
- # endPoint: s3-us-west-2.amazonaws.com
- # region: us-west-2
- # useSSL: true
- # accessKey: XXX
- # secretKey: YYY
+# S3/GCS example
+#
+# * Replace <endpoint> to
+# S3: see https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
+# GCS: use 'storage.googleapis.com'
+#
+# * Replace <region> to
+# S3: see https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
+# GCS: not needed (just delete the region line)
+#
+#drive:
+# storage: 'minio'
+# bucket: bucket-name
+# prefix: files
+# baseUrl: https://bucket-name.<endpoint>
+# config:
+# endPoint: <endpoint>
+# region: <region>
+# useSSL: true
+# accessKey: XXX
+# secretKey: YYY
- # S3 example (with CDN, custom domain)
- # storage: 'minio'
- # bucket: drive.example.com
- # prefix: files
- # baseUrl: https://drive.example.com
- # config:
- # endPoint: s3-us-west-2.amazonaws.com
- # region: us-west-2
- # useSSL: true
- # accessKey: XXX
- # secretKey: YYY
+# S3/GCS example (with CDN, custom domain)
+#
+#drive:
+# storage: 'minio'
+# bucket: drive.example.com
+# prefix: files
+# baseUrl: https://drive.example.com
+# config:
+# endPoint: <endpoint>
+# region: <region>
+# useSSL: true
+# accessKey: XXX
+# secretKey: YYY
# ┌───────────────┐
#───┘ ID generation └───────────────────────────────────────────