mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
|
|
||
|---|---|---|
| .. | ||
| bin | ||
| bitcoind | ||
| lnd | ||
| .env | ||
| docker-compose.yml | ||
| README.md | ||
RTL Docker Dev Setup
This is not suitable for production deployments. ONLY FOR DEVELOPMENT.
This docker-compose template launches bitcoind, lnd and rtl containers.
It is configured to run in regtest mode but can be modified to suit your needs.
Notes
bitcoindis built from an Ubuntu repository and should not be used in production.lndwill not sync to chain until Bitcoin regtest blocks are generated (see below).rtlimage is from the Docker Hub repository but you can change this to your needs.- Various ports and configs can be adjusted in the
.envordocker-compose.ymlfiles.
How to run
It may take several minutes if containers need to be built. From the terminal in this folder:
$ docker-compose up -d bitcoind
$ bin/b-cli generate 101
$ docker-compose up -d lnd rtl
Check containers are up and running with:
$ docker-compose ps
Use the cli tools to get responses from the containers:
$ bin/ln-cli getinfo
$ bin/b-cli getblockchaininfo
View daemon logs as follows:
$ docker-compose logs bitcoind lnd rtl
Once the containers are running you can access the RTL UI at http://localhost:3000
- Default password is
changeme. - Default host, port and password can be changed in
.env.
When you are done you can destroy containers with:
$ docker-compose down -v
@hashamadeus on Twitter