forked from btcpayserver/btcpayserver-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
opt-add-lightning-terminal.yml
33 lines (33 loc) · 1.01 KB
/
opt-add-lightning-terminal.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: "3"
services:
btcpayserver:
environment:
BTCPAY_EXTERNALSERVICES: "Lightning Terminal:${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/lit/;"
lnd_lit:
image: "lightninglabs/lightning-terminal:v0.6.3-alpha-path-prefix"
restart: unless-stopped
expose:
- "8080"
volumes:
- "lnd_lit_datadir:/root"
- "lnd_bitcoin_datadir:/data/lnd:ro"
links:
- bitcoind
- lnd_bitcoin
command:
- "--insecure-httplisten=0.0.0.0:8080"
- "--network=${NBITCOIN_NETWORK}"
- "--uipassword=${LIT_PASSWD}"
- "--lnd-mode=remote"
- "--remote.lnd.rpcserver=lnd_bitcoin:10009"
- "--remote.lnd.macaroonpath=/data/lnd/admin.macaroon"
- "--remote.lnd.tlscertpath=/data/lnd/tls.cert"
- "--faraday.connect_bitcoin"
- "--faraday.bitcoin.host=bitcoind:43782"
- "--faraday.bitcoin.user=lnd"
- "--faraday.bitcoin.password=afixedpasswordbecauselndsuckswithcookiefile"
volumes:
lnd_lit_datadir:
required:
- "bitcoin-lnd"
- "opt-lnd-grpc"