feat: group config

This commit is contained in:
icey-yu 2024-08-16 18:08:41 +08:00
parent 545359a596
commit 3d4899b27a
2 changed files with 3 additions and 3 deletions

View File

@ -4,10 +4,10 @@ rpc:
# 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 # 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 listenIP: 0.0.0.0
# 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 # 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
ports: [ 10150 ] ports: [ 10150, 10151 ]
prometheus: prometheus:
# Enable or disable Prometheus monitoring # Enable or disable Prometheus monitoring
enable: true enable: true
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup # List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
ports: [ 20103 ] ports: [ 20103, 20203 ]

View File

@ -7,7 +7,7 @@ serviceBinaries:
openim-msgtransfer: 4 openim-msgtransfer: 4
openim-rpc-conversation: 1 openim-rpc-conversation: 1
openim-rpc-auth: 1 openim-rpc-auth: 1
openim-rpc-group: 1 openim-rpc-group: 2
openim-rpc-friend: 1 openim-rpc-friend: 1
openim-rpc-msg: 1 openim-rpc-msg: 1
openim-rpc-third: 1 openim-rpc-third: 1