mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
Make db location configurable #1177
Make db location configurable #1177
This commit is contained in:
parent
ceceab04af
commit
8e65dd2c9e
17 changed files with 57 additions and 42 deletions
21
.github/docs/Multi_node_setup.md
vendored
21
.github/docs/Multi_node_setup.md
vendored
|
|
@ -20,16 +20,17 @@ This step is only required to configure the nodes, which will be remotely connec
|
|||
2. Set `multiPass` to the preferred password. This password will be used to authenticate the user for RTL. Once authenticated, the user will be able to access all the nodes configured in the json file
|
||||
3. Set the `port` to the preferred port number over which to run RTL
|
||||
4. Set the `defaultNodeIndex` to configure the default start up node at server restart
|
||||
5. `SSO` section can be used for single-sign-on from applications like BTCPayserver. If using RTL as a stand-alone app to connect with the nodes, keep the `rtlSSO=0` and ignore the rest of `SSO` section.
|
||||
6. `nodes` section is a json array, with each element of the array representing the specific parameters for the LND node to connect with. `index` must be a number and start with 1. This number must be unique for each node in the array. For each element, two items need to be configured for each node on the network (`macaroonPath` and `lnServerUrl`).
|
||||
7. `macaroonPath` should be set to the local path of the folder containing `admin.macaroon` file for each node. Each node must have a different folder for the `admin.macaroon` on the RTL server.
|
||||
8. `swapMacaroonPath` should be set to the local path of the folder containing `loop.macaroon` file for loop.
|
||||
9. `boltzMacaroonPath` should be set to the local path of the folder containing `admin.macaroon` file for boltz swaps.
|
||||
10. `lnServerUrl` must be set to the service url for LND/Core Lightining REST APIs for each node, with the unique ip address of the node hosting LND/Core Lightning e.g. https://192.168.0.1:8080 OR https://192.168.0.1:3001. In this case the ip address of the node hosting LND/Core Lightning is '192.168.0.1'
|
||||
11. `swapServerUrl` must be set to the swap service url. e.g. https://127.0.0.1:8081.
|
||||
12. `boltzServerUrl` must be set to the boltz service url. e.g. https://127.0.0.1:9003.
|
||||
13. `configPath` and `bitcoindConfigPath` are optional parameters which can be set only if the RTL is running locally on the same node. Else it can be set to "" or removed from the conf file all together.
|
||||
14. `lnApiPassword` is mandatory in the ln implementation is ECL and configPath is missing. It is used to provide password for API authentication. It will be ignored in other ln implementations.
|
||||
5. `dbDirectoryPath` should be set to the folder where RTL's database will be saved.
|
||||
6. `SSO` section can be used for single-sign-on from applications like BTCPayserver. If using RTL as a stand-alone app to connect with the nodes, keep the `rtlSSO=0` and ignore the rest of `SSO` section.
|
||||
7. `nodes` section is a json array, with each element of the array representing the specific parameters for the LND node to connect with. `index` must be a number and start with 1. This number must be unique for each node in the array. For each element, two items need to be configured for each node on the network (`macaroonPath` and `lnServerUrl`).
|
||||
8. `macaroonPath` should be set to the local path of the folder containing `admin.macaroon` file for each node. Each node must have a different folder for the `admin.macaroon` on the RTL server.
|
||||
9. `swapMacaroonPath` should be set to the local path of the folder containing `loop.macaroon` file for loop.
|
||||
10. `boltzMacaroonPath` should be set to the local path of the folder containing `admin.macaroon` file for boltz swaps.
|
||||
11. `lnServerUrl` must be set to the service url for LND/Core Lightining REST APIs for each node, with the unique ip address of the node hosting LND/Core Lightning e.g. https://192.168.0.1:8080 OR https://192.168.0.1:3001. In this case the ip address of the node hosting LND/Core Lightning is '192.168.0.1'
|
||||
12. `swapServerUrl` must be set to the swap service url. e.g. https://127.0.0.1:8081.
|
||||
13. `boltzServerUrl` must be set to the boltz service url. e.g. https://127.0.0.1:9003.
|
||||
14. `configPath` and `bitcoindConfigPath` are optional parameters which can be set only if the RTL is running locally on the same node. Else it can be set to "" or removed from the conf file all together.
|
||||
15. `lnApiPassword` is mandatory in the ln implementation is ECL and configPath is missing. It is used to provide password for API authentication. It will be ignored in other ln implementations.
|
||||
|
||||
#### 3. Restart RTL
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue