mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-07-04 18:11:16 +08:00
32 lines
1.5 KiB
YAML
32 lines
1.5 KiB
YAML
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
|
||
# autoSetPorts indicates whether to automatically set the ports
|
||
autoSetPorts: true
|
||
# List of ports that the RPC service listens on; configuring multiple ports will launch multiple instances.
|
||
# It will only take effect when autoSetPorts is set to false.
|
||
ports: [ 10400 ]
|
||
|
||
prometheus:
|
||
# Enable or disable Prometheus monitoring
|
||
enable: true
|
||
# List of ports that Prometheus listens on; these must match the number of rpc.ports.
|
||
# It will only take effect when autoSetPorts is set to false.
|
||
ports: [ 12400 ]
|
||
|
||
liveKit:
|
||
# LiveKit server address reachable from the RTC service (internal/backend address)
|
||
# When deployed via docker-compose, use the service name 'livekit'
|
||
internalAddress: http://livekit:7880
|
||
# LiveKit server address reachable from clients (external/public address)
|
||
# Production should use wss://livekit.example.com with TLS
|
||
externalAddress: ws://192.168.1.91:7880
|
||
# LiveKit API key (configured in your LiveKit server)
|
||
apiKey: devkey
|
||
# LiveKit API secret(须 ≥32 字符,须与 config/livekit.yaml keys 中对应值一致)
|
||
apiSecret: openim-livekit-default-secret-32chars-min
|
||
# Token expiry in seconds (default: 3600 = 1 hour)
|
||
tokenExpiry: 3600
|