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) <noreply@anthropic.com>
This commit is contained in:
parent
e4eea40e67
commit
9a1edfb377
@ -988,8 +988,9 @@ for ui in bitcoin-ui lnd-ui; do
|
|||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
case $ui in
|
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="" ;;
|
lnd-ui) PORT_ARG="-p 8081:80"; NET_ARG="" ;;
|
||||||
|
electrs-ui) PORT_ARG="-p 50002:50002"; NET_ARG="" ;; # internal nginx listens on 50002
|
||||||
esac
|
esac
|
||||||
CONTAINER_NAME="archy-$ui"
|
CONTAINER_NAME="archy-$ui"
|
||||||
if $DOCKER images --format '{{.Repository}}:{{.Tag}}' 2>/dev/null | grep -q "$ui"; then
|
if $DOCKER images --format '{{.Repository}}:{{.Tag}}' 2>/dev/null | grep -q "$ui"; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user