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
|
||||
clone it into your lnbits-legend repository
|
||||
```console
|
||||
|
|
@ -44,6 +47,10 @@ lncli-sim 1 newaddr p2wsh
|
|||
lncli-sim 2 listpeers
|
||||
```
|
||||
|
||||
# urls for lnbits and mempool
|
||||
* lnbits: http://localhost:5000/
|
||||
* mempool: http://localhost:8080/
|
||||
|
||||
# lnbits debug log
|
||||
```console
|
||||
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'"
|
||||
environment:
|
||||
HOST: lnbits
|
||||
QUART_DEBUG: true
|
||||
LNBITS_BACKEND_WALLET_CLASS: "LndRestWallet"
|
||||
LNBITS_DATA_FOLDER: "./data"
|
||||
LND_REST_ENDPOINT: "https://lnd-2:8081/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue