Merge branch 'main' of github.com:lnbits/legend-regtest-enviroment
This commit is contained in:
commit
d8bea9e375
2 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
# requirements
|
||||||
|
docker compose v2: https://docs.docker.com/compose/install/compose-plugin/
|
||||||
|
|
||||||
# setup
|
# setup
|
||||||
clone it into your lnbits-legend repository
|
clone it into your lnbits-legend repository
|
||||||
```console
|
```console
|
||||||
|
|
@ -44,6 +47,10 @@ lncli-sim 1 newaddr p2wsh
|
||||||
lncli-sim 2 listpeers
|
lncli-sim 2 listpeers
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# urls for lnbits and mempool
|
||||||
|
* lnbits: http://localhost:5000/
|
||||||
|
* mempool: http://localhost:8080/
|
||||||
|
|
||||||
# lnbits debug log
|
# lnbits debug log
|
||||||
```console
|
```console
|
||||||
docker logs lnbits-legend-lnbits-1 -f
|
docker logs lnbits-legend-lnbits-1 -f
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ services:
|
||||||
entrypoint: "sh -c 'sleep 30; uvicorn lnbits.__main__:app --port 5000 --host lnbits --reload'"
|
entrypoint: "sh -c 'sleep 30; uvicorn lnbits.__main__:app --port 5000 --host lnbits --reload'"
|
||||||
environment:
|
environment:
|
||||||
HOST: lnbits
|
HOST: lnbits
|
||||||
|
QUART_DEBUG: true
|
||||||
LNBITS_BACKEND_WALLET_CLASS: "LndRestWallet"
|
LNBITS_BACKEND_WALLET_CLASS: "LndRestWallet"
|
||||||
LNBITS_DATA_FOLDER: "./data"
|
LNBITS_DATA_FOLDER: "./data"
|
||||||
LND_REST_ENDPOINT: "https://lnd-2:8081/"
|
LND_REST_ENDPOINT: "https://lnd-2:8081/"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue