mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-04 14:44:30 +01:00
Building docker compose with our custom lnd
This commit is contained in:
@@ -10,10 +10,10 @@ ENV GODEBUG netdns=cgo
|
||||
RUN go get -u github.com/golang/dep/cmd/dep
|
||||
|
||||
# Grab and install the latest version of lnd and all related dependencies.
|
||||
RUN git clone https://github.com/lightningnetwork/lnd $GOPATH/src/github.com/lightningnetwork/lnd
|
||||
RUN git clone -b dev https://github.com/btcpayserver/lnd $GOPATH/src/github.com/btcpayserver/lnd
|
||||
|
||||
# Make lnd folder default.
|
||||
WORKDIR $GOPATH/src/github.com/lightningnetwork/lnd
|
||||
WORKDIR $GOPATH/src/github.com/btcpayserver/lnd
|
||||
|
||||
# Install dependencies and install/build lnd.
|
||||
RUN dep ensure
|
||||
|
||||
@@ -49,6 +49,7 @@ CHAIN=$(set_default "$CHAIN" "bitcoin")
|
||||
BACKEND=$(set_default "$BACKEND" "bitcoind")
|
||||
|
||||
exec lnd \
|
||||
--no-macaroons \
|
||||
--noencryptwallet \
|
||||
--logdir="/data" \
|
||||
"--$CHAIN.active" \
|
||||
|
||||
Reference in New Issue
Block a user