mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-10-31 09:20:27 +00:00
1.5 KiB
1.5 KiB
Documenting the different RTL setups and the corresponding config tweaks
RTL Server+LND running on the same device
For this type of setup, just follow the instructions on the readme
RTL Server and LND running on different devices (Local LAN)
If your running RTL and LND on different devices on your local LAN, certain config changes need to be made in LND and RTL conf files.
- A static IP address must be assigned to the device running LND
admin.macaroon
file must be transferred to the device on which you need to run RTL- Add to your lnd.conf file under the [Application Options] section:
restlisten=<ip address of the device running LND>:8080
- Restart LND
- Make the following changes to the RTL.conf file
[Authentication]
macaroonPath=<Path of the folder containing 'admin.macaroon' on the device running RTL>
nodeAuthType=CUSTOM
rtlPass=<password in plain text>
[Settings]
lndServerUrl=https://<ip-address-of-device-running-lnd>:8080/v1
- Restart RTL
- Access RTL by opening your browser at the following address: http://localhost:3000
RTL and LND running on different devices (with LND running on an external network or a cloud service)
In case you need to run RTL with an external node, you need to ensure that RTL is served on https, by running it behind a webserver like nginx encrypted with your letsencrypt certificate.
A sample SSL setup guide can be found here