2026-04-29 23:07:50 +08:00

35 lines
1.1 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.

node_id: "room-node-1"
grpc_addr: ":13001"
lease_ttl: "10s"
rank_limit: 20
snapshot_every_n: 1
wallet_service_addr: "wallet-service:13004"
tencent_im:
# Docker 本地联调腾讯云 IM REST 桥接;必须与 gateway-service 使用同一组应用配置。
enabled: true
sdk_app_id: 20036101
secret_key: "dcdf53135f27e7cf8541c4ae9798fb0cb2f0e4d6c5c20022dbaea053f35cbb8c"
admin_identifier: "900100100"
admin_user_sig_ttl: "24h"
endpoint: "adminapisgp.im.qcloud.com"
group_type: "ChatRoom"
request_timeout: "5s"
mysql_dsn: "hyapp:hyapp@tcp(mysql:3306)/hyapp_room?parseTime=true&charset=utf8mb4&loc=Local"
mysql_max_open_conns: 20
mysql_max_idle_conns: 10
mysql_auto_migrate: true
redis_addr: "redis:6379"
redis_password: ""
redis_db: 0
presence_stale_after: "2m"
presence_stale_scan_interval: "30s"
mic_publish_timeout: "15s"
mic_publish_scan_interval: "1s"
outbox_worker:
# Docker 本地默认启动补偿 worker验证同步 IM 失败后的 room_outbox 补投闭环。
enabled: true
poll_interval: "1s"
batch_size: 100
publish_timeout: "3s"
retry_strategy: "fixed_interval"