-
Notifications
You must be signed in to change notification settings - Fork 364
/
groestlcoin-lnd.yml
81 lines (75 loc) · 2.85 KB
/
groestlcoin-lnd.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
version: "3"
services:
lnd_groestlcoin:
image: groestlcoin/lnd:v0.10.0-grs
container_name: btcpayserver_lnd_groestlcoin
restart: unless-stopped
environment:
LND_CHAIN: "grs"
LND_EXTERNALIP: ${BTCPAY_ANNOUNCEABLE_HOST}
LND_PORT: 9736
LND_ALIAS: ${LIGHTNING_ALIAS}
LND_ENVIRONMENT: "${NBITCOIN_NETWORK:-regtest}"
LND_REST_LISTEN_HOST: http://lnd_groestlcoin:8080
LND_HOST_FOR_LOOP: 127.0.0.1:10009
LND_EXTRA_ARGS: |
restlisten=lnd_groestlcoin:8080
rpclisten=127.0.0.1:10008
rpclisten=lnd_groestlcoin:10009
rpclisten=127.0.0.1:10009
groestlcoin.node=groestlcoind
groestlcoind.rpchost=groestlcoind:43782
groestlcoind.rpcuser=lnd
groestlcoind.rpcpass=afixedpasswordbecauselndsuckswithcookiefile
groestlcoind.zmqpubrawblock=tcp://groestlcoind:21441
groestlcoind.zmqpubrawtx=tcp://groestlcoind:21441
adminmacaroonpath=/data/admin.macaroon
invoicemacaroonpath=/data/invoice.macaroon
readonlymacaroonpath=/data/readonly.macaroon
tlsextradomain=lnd_groestlcoin
no-rest-tls=1
protocol.wumbo-channels=1
ports:
- "9736:9736"
expose:
- "8080"
- "8081"
- "9736"
volumes:
- "lnd_groestlcoin_datadir:/data"
- "groestlcoin_datadir:/deps/.groestlcoin"
- "nbxplorer_datadir:/root/.nbxplorer"
links:
- groestlcoind
btcpayserver:
environment:
BTCPAY_GRSLIGHTNING: "type=lnd-rest;server=http://lnd_groestlcoin:8080/;macaroonfilepath=/etc/lnd_groestlcoin/admin.macaroon;allowinsecure=true"
BTCPAY_GRSEXTERNALLNDGRPC: "server=/;macaroonfilepath=/etc/lnd_groestlcoin/admin.macaroon;macaroondirectorypath=/etc/lnd_groestlcoin"
BTCPAY_GRSEXTERNALLNDREST: "server=/lnd-rest/grs/;macaroonfilepath=/etc/lnd_groestlcoin/admin.macaroon;macaroondirectorypath=/etc/lnd_groestlcoin"
BTCPAY_GRSEXTERNALLNDSEEDBACKUP: "/etc/lnd_groestlcoin/data/chain/groestlcoin/${NBITCOIN_NETWORK:-regtest}/walletunlock.json"
volumes:
- "lnd_groestlcoin_datadir:/etc/lnd_groestlcoin"
links:
- lnd_groestlcoin
groestlcoind:
environment:
GROESTLCOIN_EXTRA_ARGS: |
# rpcuser=lnd
# rpcpassword=afixedpasswordbecauselndsuckswithcookiefile
# We need to use rpcauth because we also need cookieauth. rpcpassword disabled cookie file auth.
# Be careful if you copy the line below from the docker-compose.yml! A dollar sign is escaped.
rpcauth=lnd:d031f7567c5b02ba95524170e51c77f4$$827ce5412f653d6613c2f480e521eb437c866b999bdeb2ee4f9c41d3b00dff1c
nginx:
links:
- "lnd_groestlcoin"
volumes:
- "lnd_groestlcoin_datadir:/lnd"
nginx-gen:
links:
- "lnd_groestlcoin"
volumes:
- "lnd_groestlcoin_datadir:/lnd"
volumes:
lnd_groestlcoin_datadir:
required:
- "opt-add-zmq"