From d3859c4f0c78badc3e543e886fe4f1236e0fe538 Mon Sep 17 00:00:00 2001 From: Tanya S <120410716+stubbsta@users.noreply.github.com> Date: Tue, 26 Mar 2024 11:58:31 +0200 Subject: [PATCH 1/2] added rest related flags to run_bootstrap.sh and updated NUM_NWAKU_NODES (#32) --- run_bootstrap.sh | 4 ++++ wakusim.env | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/run_bootstrap.sh b/run_bootstrap.sh index 28c905b..fbb9170 100755 --- a/run_bootstrap.sh +++ b/run_bootstrap.sh @@ -6,6 +6,10 @@ echo "I am a bootstrap node" exec /usr/bin/wakunode\ --relay=true\ + --rest=true\ + --rest-admin=true\ + --rest-private=true\ + --rest-address=0.0.0.0\ --keep-alive=true\ --max-connections=300\ --dns-discovery=true\ diff --git a/wakusim.env b/wakusim.env index 8a47baf..4373649 100644 --- a/wakusim.env +++ b/wakusim.env @@ -2,7 +2,7 @@ NWAKU_IMAGE=wakuorg/nwaku:latest GOWAKU_IMAGE=wakuorg/go-waku:v0.8.0 # Network scaling. -NUM_NWAKU_NODES=100 +NUM_NWAKU_NODES=10 NUM_GOWAKU_NODES=0 # Simulation traffic. MSG_PER_SECOND=10 From 9746b9f18d5ffd4a5fbda4e105903df9d1a068cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 26 Mar 2024 13:01:12 +0100 Subject: [PATCH 2/2] bind foundry and explorer ports to 0.0.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9d26ce3..bd490eb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,7 @@ services: labels: com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}' ports: - - 127.0.0.1:8545:8545 + - 0.0.0.0:8545:8545 command: - anvil --port=8545 @@ -208,7 +208,7 @@ services: web: image: web3labs/epirus-free-web:latest ports: - - 127.0.0.1:3001:3000 + - 0.0.0.0:3001:3000 environment: - API_URL=http://localhost:8090 - WS_API_URL=ws://localhost:8090 @@ -230,4 +230,4 @@ services: - redis - foundry networks: - - simulation \ No newline at end of file + - simulation