2023-06-26 16:19:59 +02:00
|
|
|
#!/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\
|
2024-07-01 12:09:37 +02:00
|
|
|
--relay=false\
|
2024-03-26 11:58:31 +02:00
|
|
|
--rest=true\
|
2025-03-17 02:01:08 +01:00
|
|
|
--rest-admin=true\
|
2024-03-26 11:58:31 +02:00
|
|
|
--rest-address=0.0.0.0\
|
2025-03-17 02:01:08 +01:00
|
|
|
--rest-port=8645\
|
|
|
|
|
--rest-allow-origin="waku-org.github.io"\
|
|
|
|
|
--rest-allow-origin="localhost:*"\
|
2023-06-26 16:19:59 +02:00
|
|
|
--max-connections=300\
|
2025-06-10 16:12:41 +02:00
|
|
|
--dns-discovery=false\
|
2023-06-26 16:19:59 +02:00
|
|
|
--discv5-discovery=true\
|
|
|
|
|
--discv5-enr-auto-update=True\
|
2024-07-08 14:56:58 +02:00
|
|
|
--log-level=DEBUG\
|
2023-06-26 16:19:59 +02:00
|
|
|
--metrics-server=True\
|
|
|
|
|
--metrics-server-address=0.0.0.0\
|
|
|
|
|
--nodekey=30348dd51465150e04a5d9d932c72864c8967f806cce60b5d26afeca1e77eb68\
|
2024-03-14 13:35:25 +02:00
|
|
|
--nat=extip:${IP}\
|
2025-04-08 13:12:17 +02:00
|
|
|
--shard=0\
|
|
|
|
|
--cluster-id=66
|