Browse Source

Fixed add peer script

feature/dockerfile-arm
Gonzalo Javier Aune 5 years ago
parent
commit
dc91719d24
  1. 2
      Dockerfile
  2. 2
      docker/entrypoint.sh

2
Dockerfile

@ -62,8 +62,6 @@ VOLUME /relay/.lnd
COPY ./docker/lnd.conf.sample /relay/.lnd/lnd.conf
RUN shuf -n 6 ./docker/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

2
docker/entrypoint.sh

@ -3,6 +3,8 @@
# turn on bash's job control
set -m
shuf -n 6 /relay/docker/unique-peer.txt >> /relay/.lnd/lnd.conf
echo "Setting ENV vars..."
export NODE_DOMAIN=$(curl $ECS_CONTAINER_METADATA_URI | echo $(jq -r .DockerName).$NODE_DOMAIN)
# export NODE_DOMAIN=lvh.me

Loading…
Cancel
Save