mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-07-01 07:18:15 +08:00
21 lines
1.0 KiB
YAML
21 lines
1.0 KiB
YAML
rpc:
|
|
# API or other RPCs can access this RPC through this IP; if left blank, the internal network IP is obtained by default
|
|
registerIP:
|
|
# Listening IP; 0.0.0.0 means both internal and external IPs are listened to, if blank, the internal network IP is automatically obtained by default
|
|
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. These must match the number of configured prometheus ports
|
|
# It will only take effect when autoSetPorts is set to false.
|
|
ports: [ 10320 ]
|
|
|
|
prometheus:
|
|
# Whether to enable prometheus
|
|
enable: true
|
|
# Prometheus listening ports, must be consistent with the number of rpc.ports
|
|
# It will only take effect when autoSetPorts is set to false.
|
|
ports: [ 12320 ]
|
|
|
|
# GetUserByPhone: false = ignore phone_visibility when searching by phone; true = enforce phone_visibility (hidden / friends-only).
|
|
phoneSearchVisibility: false
|