feat: compatible autoSetPorts (#2929)

This commit is contained in:
icey-yu
2024-12-06 17:25:42 +08:00
committed by GitHub
parent 17d5df88d1
commit fceaaa199b
22 changed files with 150 additions and 243 deletions
+5
View File
@@ -3,6 +3,11 @@ rpc:
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. These must match the number of configured prometheus ports
# It will only take effect when autoSetPorts is set to false.
ports: [ 10300 ]
prometheus:
# Enable or disable Prometheus monitoring