From 9a1edfb377e2a81e110cd5e23e02039822efa99f Mon Sep 17 00:00:00 2001 From: Dorian Date: Wed, 1 Apr 2026 21:38:44 +0100 Subject: [PATCH] fix: correct UI container port mappings in first-boot Bitcoin UI listens on 8334 internally (not 80), Electrs UI on 50002. Port mappings must match: -p 8334:8334 and -p 50002:50002. Also adds missing electrs-ui to the UI container list. Removes --network host for bitcoin-ui which conflicted with nginx. Co-Authored-By: Claude Opus 4.6 (1M context) --- scripts/first-boot-containers.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/first-boot-containers.sh b/scripts/first-boot-containers.sh index ed2e282c..35f260a2 100644 --- a/scripts/first-boot-containers.sh +++ b/scripts/first-boot-containers.sh @@ -988,8 +988,9 @@ for ui in bitcoin-ui lnd-ui; do continue fi case $ui in - bitcoin-ui) PORT_ARG=""; NET_ARG="--network host" ;; # host network: proxies Bitcoin RPC at 127.0.0.1:8332 + bitcoin-ui) PORT_ARG="-p 8334:8334"; NET_ARG="" ;; # internal nginx listens on 8334 lnd-ui) PORT_ARG="-p 8081:80"; NET_ARG="" ;; + electrs-ui) PORT_ARG="-p 50002:50002"; NET_ARG="" ;; # internal nginx listens on 50002 esac CONTAINER_NAME="archy-$ui" if $DOCKER images --format '{{.Repository}}:{{.Tag}}' 2>/dev/null | grep -q "$ui"; then