Update ObjectStorage example (#4890)

This commit is contained in:
MeiMei 2019-05-10 01:46:11 +09:00 committed by syuilo
parent 168de3c316
commit d3c3ad839b

View file

@ -84,40 +84,54 @@ redis:
drive: drive:
storage: 'fs' storage: 'fs'
# OR # OR
# storage: 'minio' #drive:
# bucket: # storage: 'minio'
# prefix: # bucket:
# config: # prefix:
# endPoint: # config:
# port: # endPoint:
# useSSL: # port:
# accessKey: # useSSL:
# secretKey: # accessKey:
# secretKey:
# S3 example # S3/GCS example
# storage: 'minio' #
# bucket: bucket-name # * Replace <endpoint> to
# prefix: files # S3: see https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
# config: # GCS: use 'storage.googleapis.com'
# endPoint: s3-us-west-2.amazonaws.com #
# region: us-west-2 # * Replace <region> to
# useSSL: true # S3: see https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
# accessKey: XXX # GCS: not needed (just delete the region line)
# secretKey: YYY #
#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) # S3/GCS example (with CDN, custom domain)
# storage: 'minio' #
# bucket: drive.example.com #drive:
# prefix: files # storage: 'minio'
# baseUrl: https://drive.example.com # bucket: drive.example.com
# config: # prefix: files
# endPoint: s3-us-west-2.amazonaws.com # baseUrl: https://drive.example.com
# region: us-west-2 # config:
# useSSL: true # endPoint: <endpoint>
# accessKey: XXX # region: <region>
# secretKey: YYY # useSSL: true
# accessKey: XXX
# secretKey: YYY
# ┌───────────────┐ # ┌───────────────┐
#───┘ ID generation └─────────────────────────────────────────── #───┘ ID generation └───────────────────────────────────────────