txoo: connect to vls and cln

- set env var for vls frontend
- set arg for vlsd2
- create txoo-server service
- cln uses http source
- vls fetch public key using curl with retries fail if not set
- update README for vls standalone
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
Lakshya Singh
2024-07-06 18:06:32 +05:30
parent a406c2a7ec
commit e46298a6f8
7 changed files with 65 additions and 8 deletions

View File

@@ -28,6 +28,8 @@ ARG VLSD_UID=100 \
VLSD_GID=101 \
VLSD_USER=vls
ARG VLSD_HOME=/home/${VLSD_USER}
ARG TXOO_PUBLIC_KEY
ENV TXOO_PUBLIC_KEY=${TXOO_PUBLIC_KEY}
LABEL maintainer.0="Lakshya Singh (@king-11)" \
maintainer.1="Dev Random (@devrandom01)"
@@ -39,6 +41,7 @@ RUN apk update && \
apk add \
build-base \
curl-dev \
curl \
protobuf \
bind-tools \
tini
@@ -58,6 +61,8 @@ ENV VLSD_DATA=/home/vls/.lightning-signer
RUN mkdir -p ${VLSD_DATA} && \
chown ${VLSD_USER}:${VLSD_USER} ${VLSD_DATA}
RUN mkdir -p ${VLSD_HOME}/.txoo
ENV REMOTE_SIGNER_ALLOWLIST=${VLSD_DATA}/ALLOWLIST
RUN touch ${REMOTE_SIGNER_ALLOWLIST}