diff --git a/apps/lnd-ui/manifest.yml b/apps/lnd-ui/manifest.yml index a33c1c80..713a1afe 100644 --- a/apps/lnd-ui/manifest.yml +++ b/apps/lnd-ui/manifest.yml @@ -22,14 +22,20 @@ app: security: readonly_root: false - network_policy: bridge + network_policy: host - # Bridge networking via archy-net. Container nginx listens on 80; - # host nginx proxies /app/lnd/ -> 127.0.0.1:18083 -> container:80. - ports: - - host: 18083 - container: 80 - protocol: tcp + # Host networking: the container's nginx listens on 18083 directly (see + # docker/lnd-ui/nginx.conf), because it has to proxy the archipelago backend + # on 127.0.0.1:5678 same-origin — a bridge container cannot reach that, and + # the cross-origin fallback broke the app on http-only nodes. `ports:` is + # intentionally empty because host networking bypasses port mapping, exactly + # as in apps/bitcoin-ui/manifest.yml. + # + # This previously declared `bridge` with 18083:80, which publishes the host + # port to a container port where nothing listens. scripts/container-specs.sh + # carried the identical mistake and was fixed alongside this; recreating from + # it on archi-dev-box left :18083 refusing connections. + ports: [] volumes: []