git.delta.rocks / unique-network / refs/commits / a6396d202a4f

difftreelog

ci(forkless-data) expose ports for prometheus

Fahrrader2023-06-05parent: #518061e.patch.diff
in: master

2 files changed

modified.docker/docker-compose.forkless-data.j2diffbeforeafterboth
7 expose:7 expose:
8 - 99448 - 9944
9 - 99339 - 9933
10 - 33044
11 - 33055
12 - 33066
13 - 33077
14 - 33088
15 - 33044
16 - 33155
10 ports:17 ports:
11 - 127.0.0.1:9944:994418 - 127.0.0.1:9944:9944
12 - 127.0.0.1:9933:993319 - 127.0.0.1:9933:9933
modified.docker/forkless-config/zombienet-forkless-data.tomldiffbeforeafterboth
--- a/.docker/forkless-config/zombienet-forkless-data.toml
+++ b/.docker/forkless-config/zombienet-forkless-data.toml
@@ -11,13 +11,46 @@
   ws_port = 9844
   rpc_port = 9843
   p2p_port = 30444
+  prometheus_port = 33044
   # Zombienet does not grant the default balance to nodes created with [[nodes]].
   balance = 2000000000000
 
-  [[relaychain.node_groups]]
-  name = "relay"
-  count = 4
+  [[relaychain.nodes]]
+  name = "relay-bob"
+  ws_port = 9855
+  rpc_port = 9854
+  p2p_port = 30555
+  prometheus_port = 33055
+  # Zombienet does not grant the default balance to nodes created with [[nodes]].
+  balance = 2000000000000
+
+  [[relaychain.nodes]]
+  name = "relay-charlie"
+  ws_port = 9866
+  rpc_port = 9865
+  p2p_port = 30666
+  prometheus_port = 33066
+  # Zombienet does not grant the default balance to nodes created with [[nodes]].
+  balance = 2000000000000
 
+  [[relaychain.nodes]]
+  name = "relay-dave"
+  ws_port = 9877
+  rpc_port = 9876
+  p2p_port = 30777
+  prometheus_port = 33077
+  # Zombienet does not grant the default balance to nodes created with [[nodes]].
+  balance = 2000000000000
+
+  [[relaychain.nodes]]
+  name = "relay-eve"
+  ws_port = 9888
+  rpc_port = 9887
+  p2p_port = 3088
+  prometheus_port = 33088
+  # Zombienet does not grant the default balance to nodes created with [[nodes]].
+  balance = 2000000000000
+
 [[parachains]]
 id = 1000
 chain_spec_modifier_commands = [[
@@ -33,6 +66,7 @@
   ws_port = 9944
   rpc_port = 9933
   p2p_port = 31200
+  prometheus_port = 33144
   args = [
     "-lxcm=trace,parity_ws::handler=debug,jsonrpsee_core=trace,jsonrpsee-core=trace,jsonrpsee_ws_server=debug",
   ]
@@ -43,6 +77,7 @@
   ws_port = 9945
   rpc_port = 9934
   p2p_port = 31201
+  prometheus_port = 33155
   args = [
     "-lxcm=trace,parity_ws::handler=debug,jsonrpsee_core=trace,jsonrpsee-core=trace,jsonrpsee_ws_server=debug",
   ]