You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 years ago | |
---|---|---|
.github | 5 years ago | |
bin | 5 years ago | |
logic | 5 years ago | |
middlewares | 5 years ago | |
models | 5 years ago | |
resources | 5 years ago | |
routes | 5 years ago | |
services | 5 years ago | |
test | 5 years ago | |
utils | 5 years ago | |
.dockerignore | 5 years ago | |
.eslintignore | 5 years ago | |
.eslintrc | 5 years ago | |
.gitignore | 5 years ago | |
Dockerfile | 5 years ago | |
LICENSE | 5 years ago | |
Makefile | 5 years ago | |
README.md | 5 years ago | |
app.js | 5 years ago | |
package.json | 5 years ago | |
pre-commit | 5 years ago | |
qemu-arm-static | 5 years ago | |
test.setup.js | 5 years ago |
README.md
API connecting the Umbrel Dashboard to bitcoind & lnd
How to use:
- To
/home/umbrel/docker-compose.yml
, add the following service:
middleware:
image: getumbrel/middleware:latest
depends_on: [ bitcoin, lnd ]
logging: *default-logging
restart: on-failure
network_mode: host
volumes:
- "/home/umbrel/lnd:/lnd"
environment:
BITCOIN_HOST: "0.0.0.0"
RPC_PORT: "8332"
RPC_USER: "<your rpc username>"
RPC_PASSWORD: "<your rpc password>"
LND_NETWORK: "mainnet"
LND_HOST: "127.0.0.1"
-
Run
docker-compose up -d
-
Test bitcoin from a computer connected to the same network
curl http://umbrel.local:3005/v1/bitcoind/info/status
- Test lightning from a computer connected to the same network
curl http://umbrel.local:3005/v1/lnd/info/status