From d3c3ad839b530e49aa1a48ec3fc72caef442ffd5 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Fri, 10 May 2019 01:46:11 +0900 Subject: [PATCH] Update ObjectStorage example (#4890) --- .config/example.yml | 76 +++++++++++++++++++++++++++------------------ 1 file changed, 45 insertions(+), 31 deletions(-) diff --git a/.config/example.yml b/.config/example.yml index 8a626cc06..db278ecc2 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 to +# S3: see https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region +# GCS: use 'storage.googleapis.com' +# +# * Replace 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. +# config: +# endPoint: +# 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: +# region: +# useSSL: true +# accessKey: XXX +# secretKey: YYY # ┌───────────────┐ #───┘ ID generation └───────────────────────────────────────────