mirror of
https://github.com/logos-messaging/logos-messaging-simulator.git
synced 2026-07-09 17:50:07 +00:00
* QUIC_SUPPORT env (default on) adds --quic-support * pass QUIC_SUPPORT via compose + wakusim.env * fix rest-traffic hostnames for Compose v2
22 lines
656 B
Bash
Executable File
22 lines
656 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"
|
|
|
|
QUIC_ARGS=""
|
|
[ "${QUIC_SUPPORT:-true}" = "true" ] && QUIC_ARGS="--quic-support=true"
|
|
exec /usr/bin/wakunode\
|
|
--relay=false\
|
|
--rest=true\
|
|
--rest-admin=true\
|
|
--rest-address=0.0.0.0\
|
|
--max-connections=300\
|
|
--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 $QUIC_ARGS |