fix: CSRF race condition, UI containers, Tor ordering, seed layout
- session.rs: use OnceCell for remember_secret to prevent concurrent requests on first boot from generating different HMAC secrets, which caused CSRF token mismatch on every state-changing RPC call (app install, start, stop all failed with "CSRF token missing or invalid") - install.rs: write lnd.conf with Bitcoin RPC credentials before LND container starts (prevents "bitcoin.mainnet must be specified" crash); inject Bitcoin RPC auth into bitcoin-ui nginx.conf; add proper error logging to UI container build/run steps; fix UI containers to use --network=host (they proxy to localhost backend/bitcoin RPC) - Tor: remove After=tor.service from archipelago-tor-helper.path to break systemd ordering cycle that prevented Tor from starting on boot - Seed screen: compact grid layout (2 cols mobile, 4 cols sm+) with tighter padding to fit kiosk displays without scrolling - Dockerfiles: remove nonexistent assets/ COPY from bitcoin-ui, fix electrs-ui to COPY qrcode.js and EXPOSE 50002 (matches nginx.conf) - image-versions.sh: add UI container image variables for registry Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -81,5 +81,10 @@ PENPOT_BACKEND_IMAGE="$ARCHY_REGISTRY/penpot-backend:2.4"
|
||||
PENPOT_EXPORTER_IMAGE="$ARCHY_REGISTRY/penpot-exporter:2.4"
|
||||
PENPOT_FRONTEND_IMAGE="$ARCHY_REGISTRY/penpot-frontend:2.4"
|
||||
|
||||
# Custom UI containers (built from docker/ dirs, pushed to registry)
|
||||
BITCOIN_UI_IMAGE="$ARCHY_REGISTRY/bitcoin-ui:latest"
|
||||
LND_UI_IMAGE="$ARCHY_REGISTRY/lnd-ui:latest"
|
||||
ELECTRS_UI_IMAGE="$ARCHY_REGISTRY/electrs-ui:latest"
|
||||
|
||||
# Base images
|
||||
NGINX_ALPINE_IMAGE="$ARCHY_REGISTRY/nginx:1.27.4-alpine"
|
||||
|
||||
Reference in New Issue
Block a user