diff --git a/siren.yml b/siren.yml index 90724f37..0ff59a8b 100644 --- a/siren.yml +++ b/siren.yml @@ -22,6 +22,7 @@ services: - SSL_ENABLED=true - DEBUG=false - SIREN_PORT=${SIREN_PORT} + - NODE_OPTIONS="--dns-result-order=ipv4first" <<: *logging entrypoint: - docker-entrypoint.sh diff --git a/siren/docker-entrypoint.sh b/siren/docker-entrypoint.sh index cc775d8c..ad9f9297 100755 --- a/siren/docker-entrypoint.sh +++ b/siren/docker-entrypoint.sh @@ -10,5 +10,8 @@ fi API_TOKEN=$(cat /var/lib/lighthouse/validators/api-token.txt) export API_TOKEN +# In case there are multiple consensus nodes, use the first one +export BEACON_URL=${BEACON_URL%%,*} + echo "Log into Siren at https://my-node-ip/${SIREN_PORT} with password ${SESSION_PASSWORD}" exec /app/docker-assets/docker-entrypoint.sh