logos-messaging-simulator/run_bootstrap.sh
Tanya S 7ee9a793ef
Merge master rest traffic to deploy-wakusim (#104)
* fix wakusim hostname

see https://github.com/status-im/infra-misc/pull/388

* chore: update docker compose command in README.md  (#99)

* Using shards, pubsubtopic is deprecated (#102)

* Move the rest-traffic logic inside waku-simulator (#103)

* Move the rest-traffic logic inside waku-simulator to be built locally

* Enable timestamp for rest-traffic

---------

Co-authored-by: Anton Iakimov <yakimant@gmail.com>
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2025-04-11 09:41:37 +02:00

20 lines
563 B
Bash
Executable File

#!/bin/sh
IP=$(ip a | grep "inet " | grep -Fv 127.0.0.1 | sed 's/.*inet \([^/]*\).*/\1/')
echo "I am a bootstrap node"
exec /usr/bin/wakunode\
--relay=false\
--rest=true\
--rest-address=0.0.0.0\
--max-connections=300\
--dns-discovery=true\
--discv5-discovery=true\
--discv5-enr-auto-update=True\
--log-level=DEBUG\
--metrics-server=True\
--metrics-server-address=0.0.0.0\
--nodekey=30348dd51465150e04a5d9d932c72864c8967f806cce60b5d26afeca1e77eb68\
--nat=extip:${IP}\
--cluster-id=66