Browse Source

Updated to 0.10 and added peers and sphinx-keysend-test

feature/dockerfile-arm
Gonzalo Javier Aune 5 years ago
parent
commit
e77b6ba377
  1. 11
      Dockerfile
  2. 1
      lnd.conf.sample
  3. 24
      unique-peer.txt

11
Dockerfile

@ -8,7 +8,7 @@ ENV GODEBUG netdns=cgo
# Pass a tag, branch or a commit using build-arg. This allows a docker # Pass a tag, branch or a commit using build-arg. This allows a docker
# image to be built from a specified Git state. The default image # image to be built from a specified Git state. The default image
# will use the Git tip of master by default. # will use the Git tip of master by default.
ARG checkout="v0.9.0-beta" ARG checkout="v0.10.0-beta"
# ARG checkout="master" # ARG checkout="master"
# Install dependencies and build the binaries. # Install dependencies and build the binaries.
@ -62,6 +62,15 @@ VOLUME /relay/.lnd
COPY ./lnd.conf.sample /relay/.lnd/lnd.conf COPY ./lnd.conf.sample /relay/.lnd/lnd.conf
RUN shuf -n 6 ./unique-peer.txt >> /relay/.lnd/lnd.conf
RUN git clone https://github.com/stakwork/sphinx-keysend-test/ /sphinx-keysend/
WORKDIR /sphinx-keysend/
RUN git checkout binary
RUN npm install
WORKDIR /relay/
RUN mkdir -p /var/log/supervisor RUN mkdir -p /var/log/supervisor
COPY ./supervisord.conf /etc/supervisord.conf COPY ./supervisord.conf /etc/supervisord.conf
COPY ./lnd_supervisor.conf /etc/supervisor.d/lnd_supervisor.ini COPY ./lnd_supervisor.conf /etc/supervisor.d/lnd_supervisor.ini

1
lnd.conf.sample

@ -10,3 +10,4 @@ ignore-historical-gossip-filters=true
nobootstrap=true nobootstrap=true
numgraphsyncpeers=1 numgraphsyncpeers=1
routing.assumechanvalid=1 routing.assumechanvalid=1
autopilot.active=false

24
unique-peer.txt

@ -0,0 +1,24 @@
neutrino.addpeer=104.9.30.99
neutrino.addpeer=13.231.170.42
neutrino.addpeer=130.83.239.98
neutrino.addpeer=138.68.244.82
neutrino.addpeer=140.82.3.244
neutrino.addpeer=144.76.164.43
neutrino.addpeer=167.71.142.183
neutrino.addpeer=176.9.26.117
neutrino.addpeer=188.127.182.181
neutrino.addpeer=198.27.66.209
neutrino.addpeer=212.47.238.22
neutrino.addpeer=213.152.106.56
neutrino.addpeer=24.148.52.186
neutrino.addpeer=3.18.0.69
neutrino.addpeer=35.153.87.161
neutrino.addpeer=35.194.66.49
neutrino.addpeer=46.101.112.24
neutrino.addpeer=69.143.97.89
neutrino.addpeer=73.31.42.95
neutrino.addpeer=78.46.126.167
neutrino.addpeer=81.7.13.84
neutrino.addpeer=85.230.78.112
neutrino.addpeer=94.23.154.171
neutrino.addpeer=96.9.244.139
Loading…
Cancel
Save