mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-10 17:53:09 +00:00
don't check for addrs file
This commit is contained in:
parent
265f5cd3bb
commit
036512e84b
@ -4,18 +4,20 @@
|
||||
# Handles CLI arguments and converts them to environment variables
|
||||
# Supports reading discovered addresses from /etc/addrs/addrs.env (10k sim pattern)
|
||||
echo "docker-entrypoint.sh"
|
||||
echo "Using address: $addrs1"
|
||||
export WAKU_LIGHTPUSH_NODE="$addrs1"
|
||||
|
||||
# Check if address file exists and source it
|
||||
if [ -f "/etc/addrs/addrs.env" ]; then
|
||||
echo "Sourcing discovered addresses from /etc/addrs/addrs.env"
|
||||
source /etc/addrs/addrs.env
|
||||
if [ -n "$addrs1" ]; then
|
||||
export WAKU_LIGHTPUSH_NODE="$addrs1"
|
||||
echo "Using discovered lightpush node: $WAKU_LIGHTPUSH_NODE"
|
||||
else
|
||||
echo "addrs1 already set. Using $addrs1"
|
||||
fi
|
||||
fi
|
||||
# if [ -f "/etc/addrs/addrs.env" ]; then
|
||||
# echo "Sourcing discovered addresses from /etc/addrs/addrs.env"
|
||||
# source /etc/addrs/addrs.env
|
||||
# if [ -n "$addrs1" ]; then
|
||||
# export WAKU_LIGHTPUSH_NODE="$addrs1"
|
||||
# echo "Using discovered lightpush node: $WAKU_LIGHTPUSH_NODE"
|
||||
# else
|
||||
# echo "addrs1 already set. Using $addrs1"
|
||||
# fi
|
||||
# fi
|
||||
|
||||
# Parse command line arguments
|
||||
while [[ $# -gt 0 ]]; do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user