fix #1453
This commit is contained in:
parent
153455983e
commit
177e0f6bb0
|
@ -518,8 +518,7 @@ services:
|
||||||
CONNECT: "localhost:8025"
|
CONNECT: "localhost:8025"
|
||||||
cpu_shares: "${CPU_SHARES_LOW}"
|
cpu_shares: "${CPU_SHARES_LOW}"
|
||||||
nwc_send:
|
nwc_send:
|
||||||
build:
|
image: ghcr.io/benthecarman/nostr-wallet-connect-lnd:master
|
||||||
context: ./docker/nwc
|
|
||||||
container_name: nwc_send
|
container_name: nwc_send
|
||||||
profiles:
|
profiles:
|
||||||
- wallets
|
- wallets
|
||||||
|
@ -529,17 +528,18 @@ services:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
restart: true
|
restart: true
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker/lnd/stacker:/root/.lnd
|
- ./docker/lnd/stacker:/app/.lnd
|
||||||
|
- nwc_send:/app
|
||||||
environment:
|
environment:
|
||||||
- RUST_LOG=info
|
- RUST_LOG=info
|
||||||
entrypoint:
|
entrypoint:
|
||||||
- 'nostr-wallet-connect-lnd'
|
- './nostr-wallet-connect-lnd'
|
||||||
- '--relay'
|
- '--relay'
|
||||||
- 'wss://relay.primal.net'
|
- 'wss://relay.primal.net'
|
||||||
- '--admin-macaroon-file'
|
- '--macaroon-file'
|
||||||
- '/root/.lnd/regtest/admin.macaroon'
|
- '/app/.lnd/regtest/admin.macaroon'
|
||||||
- '--cert-file'
|
- '--cert-file'
|
||||||
- '/root/.lnd/tls.cert'
|
- '/app/.lnd/tls.cert'
|
||||||
- '--lnd-host'
|
- '--lnd-host'
|
||||||
- 'stacker_lnd'
|
- 'stacker_lnd'
|
||||||
- '--lnd-port'
|
- '--lnd-port'
|
||||||
|
@ -549,11 +549,10 @@ services:
|
||||||
- '--daily-limit'
|
- '--daily-limit'
|
||||||
- '0'
|
- '0'
|
||||||
- '--keys-file'
|
- '--keys-file'
|
||||||
- 'admin-keys.json'
|
- 'keys-file.json'
|
||||||
cpu_shares: "${CPU_SHARES_LOW}"
|
cpu_shares: "${CPU_SHARES_LOW}"
|
||||||
nwc_recv:
|
nwc_recv:
|
||||||
build:
|
image: ghcr.io/benthecarman/nostr-wallet-connect-lnd:master
|
||||||
context: ./docker/nwc
|
|
||||||
container_name: nwc_recv
|
container_name: nwc_recv
|
||||||
profiles:
|
profiles:
|
||||||
- wallets
|
- wallets
|
||||||
|
@ -563,17 +562,18 @@ services:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
restart: true
|
restart: true
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker/lnd/stacker:/root/.lnd
|
- ./docker/lnd/stacker:/app/.lnd
|
||||||
|
- nwc_recv:/app
|
||||||
environment:
|
environment:
|
||||||
- RUST_LOG=info
|
- RUST_LOG=info
|
||||||
entrypoint:
|
entrypoint:
|
||||||
- 'nostr-wallet-connect-lnd'
|
- './nostr-wallet-connect-lnd'
|
||||||
- '--relay'
|
- '--relay'
|
||||||
- 'wss://relay.primal.net'
|
- 'wss://relay.primal.net'
|
||||||
- '--invoice-macaroon-file'
|
- '--invoice-macaroon-file'
|
||||||
- '/root/.lnd/regtest/invoice.macaroon'
|
- '/app/.lnd/regtest/invoice.macaroon'
|
||||||
- '--cert-file'
|
- '--cert-file'
|
||||||
- '/root/.lnd/tls.cert'
|
- '/app/.lnd/tls.cert'
|
||||||
- '--lnd-host'
|
- '--lnd-host'
|
||||||
- 'stacker_lnd'
|
- 'stacker_lnd'
|
||||||
- '--lnd-port'
|
- '--lnd-port'
|
||||||
|
@ -583,7 +583,7 @@ services:
|
||||||
- '--daily-limit'
|
- '--daily-limit'
|
||||||
- '0'
|
- '0'
|
||||||
- '--keys-file'
|
- '--keys-file'
|
||||||
- 'invoice-keys.json'
|
- 'keys-file.json'
|
||||||
cpu_shares: "${CPU_SHARES_LOW}"
|
cpu_shares: "${CPU_SHARES_LOW}"
|
||||||
lnbits:
|
lnbits:
|
||||||
image: lnbits/lnbits:0.12.5
|
image: lnbits/lnbits:0.12.5
|
||||||
|
@ -614,3 +614,5 @@ volumes:
|
||||||
stacker_lnd:
|
stacker_lnd:
|
||||||
stacker_cln:
|
stacker_cln:
|
||||||
s3:
|
s3:
|
||||||
|
nwc_send:
|
||||||
|
nwc_recv:
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
FROM rust:1.78
|
|
||||||
|
|
||||||
ARG KEY_FILE
|
|
||||||
|
|
||||||
RUN wget https://github.com/ekzyis/nostr-wallet-connect-lnd/archive/a02939c350191f8a6750a72d2456fbdf567e5848.zip \
|
|
||||||
&& unzip a02939c350191f8a6750a72d2456fbdf567e5848.zip
|
|
||||||
|
|
||||||
WORKDIR nostr-wallet-connect-lnd-a02939c350191f8a6750a72d2456fbdf567e5848
|
|
||||||
|
|
||||||
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 .
|
|
||||||
|
|
||||||
COPY . .
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"server_key": "ea7b559d5b49e6d4a22f57cc84a15fd3b87742ff91a85bb871242e09e6d0b0d7",
|
|
||||||
"user_key": "c8f7fcb4707863ba1cc1b32c8871585ddb1eb7a555925cd2818a6caf4a21fb90",
|
|
||||||
"sent_info": true
|
|
||||||
}
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"server_key": "86e7b8a53c22677066d882618f28f8e1f39e4676114c0ae019e9d86518177e49",
|
|
||||||
"user_key": "87e73293804edb089e0be8bf01ab2f6f219591f91998479851a7a2d1daf1a617",
|
|
||||||
"sent_info": true
|
|
||||||
}
|
|
|
@ -2,12 +2,14 @@ Use these NWC strings to attach the wallet
|
||||||
|
|
||||||
* sending:
|
* sending:
|
||||||
|
|
||||||
|
run the following command:
|
||||||
```
|
```
|
||||||
nostr+walletconnect://b7dcc7aca6e27ec2bc2374eef1a3ce1f975b76ea8ebc806fcbb9e4d359ced47e?relay=wss%3A%2F%2Frelay.primal.net&secret=c8f7fcb4707863ba1cc1b32c8871585ddb1eb7a555925cd2818a6caf4a21fb90
|
sndev logs --since 0 nwc_send | awk '/nostr\+walletconnect/{print $3; exit}'
|
||||||
```
|
```
|
||||||
|
|
||||||
- receiving:
|
- receiving:
|
||||||
|
|
||||||
|
run the following command:
|
||||||
```
|
```
|
||||||
nostr+walletconnect://ed77e8af26fee9d179443505ad7d11d5a535e1767eb3058b01673c3f56f08191?relay=wss%3A%2F%2Frelay.primal.net&secret=87e73293804edb089e0be8bf01ab2f6f219591f91998479851a7a2d1daf1a617
|
sndev logs --since 0 nwc_recv | awk '/nostr\+walletconnect/{print $3; exit}'
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue