Add nostr-wallet-connect-lnd container (#1174)
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
This commit is contained in:
parent
47bfa24b57
commit
c6ab776091
@ -471,6 +471,33 @@ services:
|
|||||||
- app
|
- app
|
||||||
labels:
|
labels:
|
||||||
CONNECT: "localhost:8025"
|
CONNECT: "localhost:8025"
|
||||||
|
nwc:
|
||||||
|
build:
|
||||||
|
context: ./docker/nwc
|
||||||
|
container_name: nwc
|
||||||
|
profiles:
|
||||||
|
- payments
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
stacker_lnd:
|
||||||
|
condition: service_healthy
|
||||||
|
restart: true
|
||||||
|
volumes:
|
||||||
|
- ./docker/lnd/stacker:/root/.lnd
|
||||||
|
environment:
|
||||||
|
- RUST_LOG=info
|
||||||
|
entrypoint:
|
||||||
|
- 'nostr-wallet-connect-lnd'
|
||||||
|
- '--relay'
|
||||||
|
- 'wss://relay.damus.io'
|
||||||
|
- '--macaroon-file'
|
||||||
|
- '/root/.lnd/regtest/admin.macaroon'
|
||||||
|
- '--cert-file'
|
||||||
|
- '/root/.lnd/tls.cert'
|
||||||
|
- '--lnd-host'
|
||||||
|
- 'stacker_lnd'
|
||||||
|
- '--lnd-port'
|
||||||
|
- '10009'
|
||||||
lnbits:
|
lnbits:
|
||||||
image: lnbits/lnbits:0.12.5
|
image: lnbits/lnbits:0.12.5
|
||||||
container_name: lnbits
|
container_name: lnbits
|
||||||
|
12
docker/nwc/Dockerfile
Normal file
12
docker/nwc/Dockerfile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
FROM rust:1.78
|
||||||
|
|
||||||
|
RUN wget https://github.com/benthecarman/nostr-wallet-connect-lnd/archive/9d53490f0a0cf655030e4ef4d32b478d7f29af5b.zip \
|
||||||
|
&& unzip 9d53490f0a0cf655030e4ef4d32b478d7f29af5b.zip
|
||||||
|
|
||||||
|
WORKDIR nostr-wallet-connect-lnd-9d53490f0a0cf655030e4ef4d32b478d7f29af5b
|
||||||
|
|
||||||
|
RUN apt-get update -y \
|
||||||
|
&& apt-get install -y cmake \
|
||||||
|
&& apt-get clean \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
RUN cargo build --release && cargo install --path .
|
Loading…
x
Reference in New Issue
Block a user