Files
chat-deploy/config/chat-rpc-chat.yml
kim.dev.6789 b7f8db7d08 复制项目
2026-01-14 22:35:45 +08:00

45 lines
1.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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则隐藏验证码登录功能