mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 03:26:57 +08:00
third
This commit is contained in:
parent
d0c042844e
commit
ca04748862
@ -97,20 +97,20 @@ credential: #腾讯cos,发送图片、视频、文件时需要,请自行申
|
|||||||
object:
|
object:
|
||||||
enable: minio
|
enable: minio
|
||||||
apiURL: http://127.0.0.1:10002/api/third/object?name=
|
apiURL: http://127.0.0.1:10002/api/third/object?name=
|
||||||
|
minio: #MinIO 发送图片、视频、文件时需要,请自行申请后替换,必须修改。 客户端初始化InitSDK,中 object_storage参数为minio
|
||||||
|
tempBucket: "openim"
|
||||||
|
dataBucket: "openim"
|
||||||
|
location: us-east-1
|
||||||
|
endpoint: http://127.0.0.1:10005 #minio外网ip 这个ip是给客户端访问的
|
||||||
|
accessKeyID: root
|
||||||
|
secretAccessKey: openIM123
|
||||||
|
isDistributedMod: false # 是否分布式多硬盘部署 默认docker-compose中为false,如果是多硬盘部署,需要修改为true
|
||||||
tencent:
|
tencent:
|
||||||
appID:
|
appID:
|
||||||
region:
|
region:
|
||||||
bucket:
|
bucket:
|
||||||
secretID:
|
secretID:
|
||||||
secretKey:
|
secretKey:
|
||||||
minio: #MinIO 发送图片、视频、文件时需要,请自行申请后替换,必须修改。 客户端初始化InitSDK,中 object_storage参数为minio
|
|
||||||
tempBucket: "openIM"
|
|
||||||
dataBucket: "openIM"
|
|
||||||
location: us-east-1
|
|
||||||
endpoint: http://127.0.0.1:10005 #minio外网ip 这个ip是给客户端访问的
|
|
||||||
accessKeyID: root
|
|
||||||
secretAccessKey: openIM123
|
|
||||||
isDistributedMod: false # 是否分布式多硬盘部署 默认docker-compose中为false
|
|
||||||
ali: # ali oss
|
ali: # ali oss
|
||||||
regionID:
|
regionID:
|
||||||
accessKeyID:
|
accessKeyID:
|
||||||
@ -321,3 +321,4 @@ prometheus:
|
|||||||
conversationPrometheusPort: [ 20230 ]
|
conversationPrometheusPort: [ 20230 ]
|
||||||
rtcPrometheusPort: [ 21300 ]
|
rtcPrometheusPort: [ 21300 ]
|
||||||
messageTransferPrometheusPort: [ 21400, 21401, 21402, 21403 ] # 端口数量和 script/path_info.cfg msg_transfer_service_num保持一致
|
messageTransferPrometheusPort: [ 21400, 21401, 21402, 21403 ] # 端口数量和 script/path_info.cfg msg_transfer_service_num保持一致
|
||||||
|
|
||||||
|
@ -73,8 +73,17 @@ type config struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Object struct {
|
Object struct {
|
||||||
Enable string `yaml:"enable"`
|
Enable string `yaml:"enable"`
|
||||||
ApiURL string `yaml:"apiURL"`
|
ApiURL string `yaml:"apiURL"`
|
||||||
|
Minio struct {
|
||||||
|
TempBucket string `yaml:"tempBucket"`
|
||||||
|
DataBucket string `yaml:"dataBucket"`
|
||||||
|
Location string `yaml:"location"`
|
||||||
|
Endpoint string `yaml:"endpoint"`
|
||||||
|
AccessKeyID string `yaml:"accessKeyID"`
|
||||||
|
SecretAccessKey string `yaml:"secretAccessKey"`
|
||||||
|
IsDistributedMod bool `yaml:"isDistributedMod"`
|
||||||
|
} `yaml:"minio"`
|
||||||
Tencent struct {
|
Tencent struct {
|
||||||
AppID string `yaml:"appID"`
|
AppID string `yaml:"appID"`
|
||||||
Region string `yaml:"region"`
|
Region string `yaml:"region"`
|
||||||
@ -93,15 +102,6 @@ type config struct {
|
|||||||
StsDurationSeconds int64 `yaml:"stsDurationSeconds"`
|
StsDurationSeconds int64 `yaml:"stsDurationSeconds"`
|
||||||
OssRoleArn string `yaml:"OssRoleArn"`
|
OssRoleArn string `yaml:"OssRoleArn"`
|
||||||
}
|
}
|
||||||
Minio struct {
|
|
||||||
TempBucket string `yaml:"tempBucket"`
|
|
||||||
DataBucket string `yaml:"dataBucket"`
|
|
||||||
Location string `yaml:"location"`
|
|
||||||
Endpoint string `yaml:"endpoint"`
|
|
||||||
AccessKeyID string `yaml:"accessKeyID"`
|
|
||||||
SecretAccessKey string `yaml:"secretAccessKey"`
|
|
||||||
IsDistributedMod bool `yaml:"isDistributedMod"`
|
|
||||||
} `yaml:"minio"`
|
|
||||||
Aws struct {
|
Aws struct {
|
||||||
AccessKeyID string `yaml:"accessKeyID"`
|
AccessKeyID string `yaml:"accessKeyID"`
|
||||||
AccessKeySecret string `yaml:"accessKeySecret"`
|
AccessKeySecret string `yaml:"accessKeySecret"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user