diff --git a/config/config.yaml b/config/config.yaml index bb0e909a5..87c14a60f 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -124,14 +124,19 @@ api: # Session token # Configuration for Tencent COS # Configuration for Aliyun OSS +# apiURL is the address of the api, the access address of the app, use s3 must be configured +# minio.endpoint can be configured as an intranet address, +# minio.signEndpoint is minio public network address +# minio.thumbnailApi is the address of the thumbnail service, the access address of the app +# minio.thumbnailUseSignEndpoint whether the url parameter for generating thumbnails uses a signed address, the default is fine object: enable: "minio" - apiURL: http://127.0.0.1:10002 + apiURL: "http://127.0.0.1:10002" minio: bucket: "openim" - endpoint: http://127.0.0.1:10005 - accessKeyID: root - secretAccessKey: openIM123 + endpoint: "http://127.0.0.1:10005" + accessKeyID: "root" + secretAccessKey: "openIM123" sessionToken: "" signEndpoint: "http://127.0.0.1:10005" thumbnailApi: "http://127.0.0.1:10003" @@ -145,7 +150,7 @@ object: endpoint: "https://oss-cn-chengdu.aliyuncs.com" bucket: "demo-9999999" bucketURL: "https://demo-9999999.oss-cn-chengdu.aliyuncs.com" - accessKeyID: root + accessKeyID: "" accessKeySecret: "" sessionToken: ""