mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-05 20:11:14 +08:00
* fix: minor log typo * fix: #2895 no need to specify listen port in config file, just use system random * drop useless code
17 lines
601 B
YAML
17 lines
601 B
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
|
|
|
|
|
|
prometheus:
|
|
# Enable or disable Prometheus monitoring
|
|
enable: true
|
|
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
|
|
ports: [ 12200 ]
|
|
|
|
tokenPolicy:
|
|
# Token validity period, in days
|
|
expire: 90
|