hyapp-server/services/gateway-service/configs/config.tencent.example.yaml
2026-04-27 02:29:42 +08:00

17 lines
818 B
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.

http_addr: ":13000"
jwt_secret: "REPLACE_WITH_GATEWAY_JWT_SECRET"
room_service_addr: "room-service.internal:13001"
user_service_addr: "user-service.internal:13005"
tencent_im:
# 腾讯云 IM 应用 ID来自 Chat/IM 控制台的 SDKAppID。
sdk_app_id: 1400000000
# 腾讯云 IM SDKSecretKey只允许保存在服务端密钥系统或线上配置中。
secret_key: "TENCENT_IM_SECRET_KEY"
# 客户端 UserSig 有效期;过短会增加刷新频率,过长会放大泄露窗口。
user_sig_ttl: "24h"
# 腾讯云 IM 控制台配置的回调地址,用于入群前、发言前等业务守卫。
callback_url: "https://api.example.com/api/v1/tencent-im/callback"
# 腾讯云 IM 回调鉴权 Token必须和控制台配置保持一致。
callback_auth_token: "TENCENT_IM_CALLBACK_AUTH_TOKEN"