mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-11-07 15:20:31 +00:00
e45d6d598a
- Package updates Updated docker NodeJS from 10 to 14 Updated Angular from 11 to 12 Updated Material from 11 to 12 Updated Angular cli from 11 to 12 Updated Karma from 5 to 6 Updated rxjs from 6 to 7 Updated ngrx from 10 to 12 Updated angularx-qrcode from 10 to 11 Updated @angular/flex-layout from 11 to 12 Updated angular-user-idle from 2.2.4 to 2.2.5 Updated typescript from 4.0.2 to 4.2.4 Updated zone.js from 0.10.2 to 0.11.4 Migrated from TSLint to ESLint Installed save-dev crypto-browserify & stream-browserify - Mask password with fixed length #689 - CSRF Token (#696) - Route lock default password (#700) - ECL Invoice amount mislabeled #694 - ECL & LND Fee report time zone offset bug fixes #692 & #693 - Loop remove max routing fee validation #690 - Child route refresh bug - Adding Password Blacklist (#704) - Fee rate in percentage #621 (#705) - ECL Adding BaseFee and FeeRate on Channels - LND Invoice and Payment pagination fix (#707) - Keysend missing QR code bug fix - Login page XS layout fix - Reports tables load time improved (#709) - Report initial table load bug fix |
||
---|---|---|
.. | ||
bin | ||
bitcoind | ||
lnd | ||
.env | ||
docker-compose.yml | ||
Dockerfile | ||
Dockerfile.arm32v7 | ||
Dockerfile.arm64v8 | ||
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
bitcoind
is built from an Ubuntu repository and should not be used in production.lnd
will not sync to chain until Bitcoin regtest blocks are generated (see below).rtl
image is from the Docker Hub repository but you can change this to your needs.- Various ports and configs can be adjusted in the
.env
ordocker-compose.yml
files.
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
password
. - 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