forked from mirror/misskey
Update ObjectStorage example (#4890)
This commit is contained in:
parent
168de3c316
commit
d3c3ad839b
@ -86,6 +86,7 @@ drive:
|
|||||||
|
|
||||||
# OR
|
# OR
|
||||||
|
|
||||||
|
#drive:
|
||||||
# storage: 'minio'
|
# storage: 'minio'
|
||||||
# bucket:
|
# bucket:
|
||||||
# prefix:
|
# prefix:
|
||||||
@ -96,25 +97,38 @@ drive:
|
|||||||
# accessKey:
|
# accessKey:
|
||||||
# secretKey:
|
# secretKey:
|
||||||
|
|
||||||
# S3 example
|
# 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'
|
# storage: 'minio'
|
||||||
# bucket: bucket-name
|
# bucket: bucket-name
|
||||||
# prefix: files
|
# prefix: files
|
||||||
|
# baseUrl: https://bucket-name.<endpoint>
|
||||||
# config:
|
# config:
|
||||||
# endPoint: s3-us-west-2.amazonaws.com
|
# endPoint: <endpoint>
|
||||||
# region: us-west-2
|
# region: <region>
|
||||||
# useSSL: true
|
# useSSL: true
|
||||||
# accessKey: XXX
|
# accessKey: XXX
|
||||||
# secretKey: YYY
|
# secretKey: YYY
|
||||||
|
|
||||||
# S3 example (with CDN, custom domain)
|
# S3/GCS example (with CDN, custom domain)
|
||||||
|
#
|
||||||
|
#drive:
|
||||||
# storage: 'minio'
|
# storage: 'minio'
|
||||||
# bucket: drive.example.com
|
# bucket: drive.example.com
|
||||||
# prefix: files
|
# prefix: files
|
||||||
# baseUrl: https://drive.example.com
|
# baseUrl: https://drive.example.com
|
||||||
# config:
|
# config:
|
||||||
# endPoint: s3-us-west-2.amazonaws.com
|
# endPoint: <endpoint>
|
||||||
# region: us-west-2
|
# region: <region>
|
||||||
# useSSL: true
|
# useSSL: true
|
||||||
# accessKey: XXX
|
# accessKey: XXX
|
||||||
# secretKey: YYY
|
# secretKey: YYY
|
||||||
|
Loading…
Reference in New Issue
Block a user