This commit is contained in:
Pearson White 2025-09-08 14:22:24 -04:00
parent 5f19e6d6b3
commit 265f5cd3bb
No known key found for this signature in database
GPG Key ID: 04EC3B10F58DECC3

View File

@ -3,6 +3,7 @@
# Docker entrypoint script for waku-browser-tests
# 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"
# Check if address file exists and source it
if [ -f "/etc/addrs/addrs.env" ]; then
@ -11,6 +12,8 @@ if [ -f "/etc/addrs/addrs.env" ]; then
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