-
Notifications
You must be signed in to change notification settings - Fork 364
/
bgold-lnd.yml
55 lines (50 loc) · 1.3 KB
/
bgold-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
version: "3"
services:
lnd_bitcoingold:
image: kamigawabul/btglnd:latest
container_name: btcpayserver_lnd_bitcoingold
restart: unless-stopped
environment:
LND_CHAIN: "btg"
LND_ENVIRONMENT: "${NBITCOIN_NETWORK:-regtest}"
LND_EXTRA_ARGS: |
restlisten=0.0.0.0:8080
rpclisten=127.0.0.1:10008
rpclisten=0.0.0.0:10009
bitcoingold.node=bgoldd
bgoldd.rpchost=bgoldd:43782
bgoldd.zmqpath=tcp://bgoldd:28332
externalip=${BTCPAY_HOST}:9735
alias=${LIGHTNING_ALIAS}
noencryptwallet=1
ports:
- "9735:9735"
expose:
- "8080"
- "9735"
volumes:
- "lnd_bitcoingold_datadir:/data"
- "bgold_datadir:/deps/.bitcoingold"
links:
- bgoldd
btcpayserver:
environment:
BTCPAY_BTGLIGHTNING: "type=lnd-rest;server=http://lnd_bitcoingold:8080/;macaroonfilepath=/etc/lnd_bitcoingold/admin.macaroon;allowinsecure=true"
volumes:
- "lnd_bitcoingold_datadir:/etc/lnd_bitcoingold"
links:
- lnd_bitcoingold
nginx:
links:
- "lnd_bitcoingold"
volumes:
- "lnd_bitcoingold_datadir:/lnd"
nginx-gen:
links:
- "lnd_bitcoingold"
volumes:
- "lnd_bitcoingold_datadir:/lnd"
volumes:
lnd_bitcoingold_datadir:
required:
- "opt-add-zmq"