Add Lightning Terminal (litd) service for Loop Out support

Adds litd v0.16.0-alpha in remote mode connecting to lnd-1.
This enables Loop Out functionality for submarine swaps.

- Exposes ports 8443 (HTTPS) and 8080 (HTTP)
- UI password: testpassword123
- Configured for regtest network

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Patrick Mulligan 2026-02-01 22:12:16 -05:00
commit aafa8ce6db

View file

@ -329,6 +329,37 @@ services:
- ./data/lnd-4:/root/.lnd/
- bitcoin-data:/root/.bitcoin
litd:
hostname: litd
depends_on:
- lnd-1
image: lightninglabs/lightning-terminal:v0.16.0-alpha
restart: on-failure
entrypoint: /bin/sh
command:
- -c
- |
echo "Waiting for LND to be ready..."
sleep 30
exec /usr/local/bin/litd \
--httpslisten=0.0.0.0:8443 \
--insecure-httplisten=0.0.0.0:8080 \
--uipassword=testpassword123 \
--network=regtest \
--lnd-mode=remote \
--remote.lnd.rpcserver=lnd-1:10009 \
--remote.lnd.macaroonpath=/root/.lnd/data/chain/bitcoin/regtest/admin.macaroon \
--remote.lnd.tlscertpath=/root/.lnd/tls.cert \
--autopilot.disable=true \
--loop.server.host=localhost:11009 \
--loop.server.notls=true
ports:
- 8443:8443
- 8080:8080
volumes:
- ./data/lnd-1:/root/.lnd:ro
- ./data/litd:/root/.lit
eclair:
hostname: eclair
depends_on: