docs: config

pull/818/head
withchao 2 years ago
parent 1df35100de
commit 3a976bdafd

@ -124,14 +124,19 @@ api:
# Session token # Session token
# Configuration for Tencent COS # Configuration for Tencent COS
# Configuration for Aliyun OSS # 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: object:
enable: "minio" enable: "minio"
apiURL: http://127.0.0.1:10002 apiURL: "http://127.0.0.1:10002"
minio: minio:
bucket: "openim" bucket: "openim"
endpoint: http://127.0.0.1:10005 endpoint: "http://127.0.0.1:10005"
accessKeyID: root accessKeyID: "root"
secretAccessKey: openIM123 secretAccessKey: "openIM123"
sessionToken: "" sessionToken: ""
signEndpoint: "http://127.0.0.1:10005" signEndpoint: "http://127.0.0.1:10005"
thumbnailApi: "http://127.0.0.1:10003" thumbnailApi: "http://127.0.0.1:10003"
@ -145,7 +150,7 @@ object:
endpoint: "https://oss-cn-chengdu.aliyuncs.com" endpoint: "https://oss-cn-chengdu.aliyuncs.com"
bucket: "demo-9999999" bucket: "demo-9999999"
bucketURL: "https://demo-9999999.oss-cn-chengdu.aliyuncs.com" bucketURL: "https://demo-9999999.oss-cn-chengdu.aliyuncs.com"
accessKeyID: root accessKeyID: ""
accessKeySecret: "" accessKeySecret: ""
sessionToken: "" sessionToken: ""

Loading…
Cancel
Save