复制项目
This commit is contained in:
44
config/chat-rpc-chat.yml
Normal file
44
config/chat-rpc-chat.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
rpc:
|
||||
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
|
||||
registerIP: ''
|
||||
# IP address that the RPC service listens on; setting to 0.0.0.0 listens on both internal and external IPs. If left blank, it automatically uses the internal network IP
|
||||
listenIP: 0.0.0.0
|
||||
# List of ports that the RPC service listens on; configuring multiple ports will launch multiple instances.
|
||||
ports: [ 30300 ]
|
||||
|
||||
verifyCode:
|
||||
validTime: 300
|
||||
validCount: 5
|
||||
uintTime: 86400
|
||||
maxCount: 10
|
||||
superCode: "666666"
|
||||
len: 6
|
||||
phone:
|
||||
use: "superCode" # superCode: user superCode; ali: use ali verify code; bao: use bao verify code;
|
||||
ali:
|
||||
endpoint: ""
|
||||
accessKeyId: ""
|
||||
accessKeySecret: ""
|
||||
signName: ""
|
||||
verificationCodeTemplateCode: ""
|
||||
bao:
|
||||
endpoint: "http://127.0.0.1:18080"
|
||||
accessKeyId: "local"
|
||||
accessKeySecret: "local"
|
||||
signName: "local"
|
||||
verificationCodeTemplateCode: ""
|
||||
mail:
|
||||
use: "superCode" # superCode: user superCode; mail: use mail verify code;
|
||||
title: ""
|
||||
senderMail: ""
|
||||
senderAuthorizationCode: ""
|
||||
smtpAddr: ""
|
||||
smtpPort:
|
||||
|
||||
liveKit:
|
||||
url: "ws://127.0.0.1:7880" # LIVEKIT_URL, LiveKit server address and port
|
||||
key: "devkey"
|
||||
secret: "devsecret"
|
||||
|
||||
allowRegister: true
|
||||
allowVerifyCodeLogin: false # 是否允许验证码登录,设置为false则隐藏验证码登录功能
|
||||
Reference in New Issue
Block a user