diff --git a/config/openim-rpc-group.yml b/config/openim-rpc-group.yml index 78b44030e..f09f6ea1d 100644 --- a/config/openim-rpc-group.yml +++ b/config/openim-rpc-group.yml @@ -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 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 - ports: [ 10150 ] + ports: [ 10150, 10151 ] 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: [ 20103 ] + ports: [ 20103, 20203 ] diff --git a/start-config.yml b/start-config.yml index a6d3e47af..09ef8e48d 100644 --- a/start-config.yml +++ b/start-config.yml @@ -7,7 +7,7 @@ serviceBinaries: openim-msgtransfer: 4 openim-rpc-conversation: 1 openim-rpc-auth: 1 - openim-rpc-group: 1 + openim-rpc-group: 2 openim-rpc-friend: 1 openim-rpc-msg: 1 openim-rpc-third: 1