Merge remote-tracking branch 'origin/main'

This commit is contained in:
wangchuxiao 2023-02-10 11:33:45 +08:00
commit e2c53754b5
3 changed files with 68 additions and 69 deletions

View File

@ -26,7 +26,6 @@ By deployment of the Open-IM-Server on the customer's server, developers can int
- Supports multiple protocols - Supports multiple protocols
## Community ## Community
- 中文官网访问这里:[Open-IM中文开发文档](https://doc.rentsoft.cn/) - 中文官网访问这里:[Open-IM中文开发文档](https://doc.rentsoft.cn/)
## Quick start ## Quick start

View File

@ -115,11 +115,11 @@ sdk:
#对象存储服务以下配置二选一目前支持两种腾讯云和minio二者配置好其中一种即可如果使用minio参考https://doc.rentsoft.cn/#/qa/minio搭建minio服务器 #对象存储服务以下配置二选一目前支持两种腾讯云和minio二者配置好其中一种即可如果使用minio参考https://doc.rentsoft.cn/#/qa/minio搭建minio服务器
credential: #腾讯cos发送图片、视频、文件时需要请自行申请后替换必须修改 credential: #腾讯cos发送图片、视频、文件时需要请自行申请后替换必须修改
tencent: tencent:
appID: appID:
region: region:
bucket: bucket:
secretID: secretID:
secretKey: secretKey:
minio: #MinIO 发送图片、视频、文件时需要,请自行申请后替换,必须修改。 客户端初始化InitSDK中 object_storage参数为minio minio: #MinIO 发送图片、视频、文件时需要,请自行申请后替换,必须修改。 客户端初始化InitSDK中 object_storage参数为minio
bucket: openim # 存储内容桶 bucket: openim # 存储内容桶
appBucket: app # 存储app的桶 appBucket: app # 存储app的桶
@ -132,23 +132,23 @@ credential: #腾讯cos发送图片、视频、文件时需要请自行申
storageTime: 50 #文件在minio中保存的时间 storageTime: 50 #文件在minio中保存的时间
isDistributedMod: false # 是否分布式多硬盘部署 默认docker-compose中为false isDistributedMod: false # 是否分布式多硬盘部署 默认docker-compose中为false
ali: # ali oss ali: # ali oss
regionID: regionID:
accessKeyID: accessKeyID:
accessKeySecret: accessKeySecret:
stsEndpoint: stsEndpoint:
ossEndpoint: ossEndpoint:
bucket: bucket:
finalHost: finalHost:
stsDurationSeconds: stsDurationSeconds:
OssRoleArn: OssRoleArn:
aws: aws:
accessKeyID: #AssumeRole用户关联的accessKeyID accessKeyID: #AssumeRole用户关联的accessKeyID
accessKeySecret: #AssumeRole用户关联的accessKeySecrect accessKeySecret: #AssumeRole用户关联的accessKeySecrect
region: #分区 region: #分区
bucket: #桶 bucket: #桶
finalHost: #对外Host finalHost: #对外Host
roleArn: #RoleArn roleArn: #RoleArn
externalId: #角色扩展Id externalId: #角色扩展Id
roleSessionName: #角色SESSION名称 roleSessionName: #角色SESSION名称
@ -216,17 +216,17 @@ longconnsvr:
push: push:
tpns: #腾讯推送,暂未测试 暂不要使用 tpns: #腾讯推送,暂未测试 暂不要使用
ios: ios:
accessID: accessID:
secretKey: secretKey:
android: android:
accessID: accessID:
secretKey: secretKey:
enable: false # true or false (bool) enable: false # true or false (bool)
jpns: #极光推送 在极光后台申请后,修改以下四项,必须修改 jpns: #极光推送 在极光后台申请后,修改以下四项,必须修改
appKey: appKey:
masterSecret: masterSecret:
pushUrl: pushUrl:
pushIntent: pushIntent:
enable: false # true or false (bool) enable: false # true or false (bool)
getui: #个推推送 getui: #个推推送
pushUrl: pushUrl:
@ -241,9 +241,9 @@ push:
enable: false enable: false
mob: #袤博推送 mob: #袤博推送
appKey: #帐号文件,此处需要改修配置,并且这个文件放在 config目录下 appKey: #帐号文件,此处需要改修配置,并且这个文件放在 config目录下
pushUrl: pushUrl:
scheme: scheme:
appSecret: appSecret:
enable: false enable: false
@ -765,18 +765,18 @@ demo:
#demo对外服务端口默认即可需要开放此端口或做nginx转发 #demo对外服务端口默认即可需要开放此端口或做nginx转发
openImDemoPort: [ 10004 ] openImDemoPort: [ 10004 ]
alismsverify: #阿里云短信配置在阿里云申请成功后修改以下四项enable为true则必须修改阿里云为默认短信验证方式 alismsverify: #阿里云短信配置在阿里云申请成功后修改以下四项enable为true则必须修改阿里云为默认短信验证方式
accessKeyId: accessKeyId:
accessKeySecret: accessKeySecret:
signName: signName:
verificationCodeTemplateCode: verificationCodeTemplateCode:
enable: false enable: false
tencentsms: #腾讯云短信配置在腾讯云申请成功后修改以下选项enable为true则必须修改 tencentsms: #腾讯云短信配置在腾讯云申请成功后修改以下选项enable为true则必须修改
appID: appID:
region: region:
secretID: secretID:
secretKey: secretKey:
signName: signName:
verificationCodeTemplateCode: verificationCodeTemplateCode:
enable: true enable: true
superCode: 666666 #超级验证码,建议修改掉,收不到短信验证码时可以用此替代 superCode: 666666 #超级验证码,建议修改掉,收不到短信验证码时可以用此替代
needInvitationCode: false needInvitationCode: false
@ -784,10 +784,10 @@ demo:
codeTTL: 60 codeTTL: 60
useSuperCode: true useSuperCode: true
mail: #仅支持qq邮箱具体操作参考 https://service.mail.qq.com/cgi-bin/help?subtype=1&id=28&no=1001256 必须修改 mail: #仅支持qq邮箱具体操作参考 https://service.mail.qq.com/cgi-bin/help?subtype=1&id=28&no=1001256 必须修改
title: title:
senderMail: senderMail:
senderAuthorizationCode: senderAuthorizationCode:
smtpAddr: smtpAddr:
smtpPort: #需开放此端口 出口方向 smtpPort: #需开放此端口 出口方向
testDepartMentID: 001 testDepartMentID: 001
imAPIURL: http://127.0.0.1:10002 imAPIURL: http://127.0.0.1:10002

View File

@ -79,11 +79,11 @@ cmsapi:
credential: credential:
tencent: tencent:
appID: 1302656840 appID:
region: ap-chengdu region:
bucket: echat-1302656840 bucket:
secretID: AKIDGNYVChzIQinu7QEgtNp0hnNgqcV8vZTC secretID:
secretKey: kz15vW83qM6dBUWIq681eBZA0c0vlIbe secretKey:
rpcport: rpcport:
@ -131,16 +131,16 @@ longconnsvr:
push: push:
tpns: tpns:
ios: ios:
accessID: 1600018281 accessID:
secretKey: 3cd68a77a95b89e5089a1aca523f318f secretKey:
android: android:
accessID: 111 accessID:
secretKey: 111 secretKey:
jpns: jpns:
appKey: cf47465a368f24c659608e7e appKey:
masterSecret: 02204efe3f3832947a236ee5 masterSecret:
pushUrl: "https://api.jpush.cn/v3/push" pushUrl:
pushIntent: "intent:#Intent;component=io.openim.app.enterprisechat/io.openim.app.enterprisechat.MainActivity;end" pushIntent:
manager: manager:
appManagerUid: ["openIM123456","openIM654321"] appManagerUid: ["openIM123456","openIM654321"]
secrets: ["openIM1","openIM2"] secrets: ["openIM1","openIM2"]
@ -168,16 +168,16 @@ demoswitch: true
demo: demo:
openImDemoPort: [ 42233 ] openImDemoPort: [ 42233 ]
alismsverify: alismsverify:
accessKeyId: LTAI5tJPkn4HuuePdiLdGqe71 accessKeyId:
accessKeySecret: 4n9OJ7ZCVN1U6KeHDAtOyNeVZcjOuV1 accessKeySecret:
signName: OpenIM Corporation signName:
verificationCodeTemplateCode: SMS_2268101641 verificationCodeTemplateCode:
superCode: 666666 superCode: 666666
mail: mail:
title: "openIM" title:
senderMail: "1765567899@qq.com" senderMail:
senderAuthorizationCode: "1gxyausfoevlzbfag" senderAuthorizationCode:
smtpAddr: "smtp.qq.com" smtpAddr:
smtpPort: 25 smtpPort: