added RTL-Config.json config file.
modified volume mounts to load RTL-Config.json
This commit is contained in:
parent
b389996afb
commit
cce44c1fec
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: rtl - Create vol/rtl
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: ~/vol/rtl
|
||||||
|
recurse: true
|
||||||
|
state: directory
|
||||||
|
tags: [apps,rtl]
|
||||||
|
|
||||||
- name: rtl - Create Containers/rtl Dir
|
- name: rtl - Create Containers/rtl Dir
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|||||||
31
roles/apps/templates/rtl/RTL-Config.json.j2
Normal file
31
roles/apps/templates/rtl/RTL-Config.json.j2
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"port": "3000",
|
||||||
|
"defaultNodeIndex": 1,
|
||||||
|
"dbDirectoryPath": "/root/database/node-1",
|
||||||
|
"SSO": {
|
||||||
|
"rtlSSO": 0,
|
||||||
|
"rtlCookiePath": "",
|
||||||
|
"logoutRedirectLink": ""
|
||||||
|
},
|
||||||
|
"nodes": [
|
||||||
|
{
|
||||||
|
"index": 1,
|
||||||
|
"lnNode": "Core Lightning Testnet # 1",
|
||||||
|
"lnImplementation": "CLN",
|
||||||
|
"Authentication": {
|
||||||
|
"runePath": "/RTL/.lightning/bitcoin"
|
||||||
|
},
|
||||||
|
"Settings": {
|
||||||
|
"userPersona": "OPERATOR",
|
||||||
|
"themeMode": "DAY",
|
||||||
|
"themeColor": "PURPLE",
|
||||||
|
"bitcoindConfigPath": "",
|
||||||
|
"logLevel": "INFO",
|
||||||
|
"fiatConversion": false,
|
||||||
|
"unannouncedChannels": false,
|
||||||
|
"lnServerUrl": "https://127.0.0.1:3001"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"multiPass": "n0xb0x"
|
||||||
|
}
|
||||||
@ -6,6 +6,9 @@ Image={{ registry_url }}/rtl:{{ rtl_version }}
|
|||||||
PodmanArgs=--pod bitcoin-pod
|
PodmanArgs=--pod bitcoin-pod
|
||||||
|
|
||||||
# Use volume
|
# Use volume
|
||||||
|
Volume=/home/{{ansible_user}}/vol/rtl/data:/RTL/data:Z
|
||||||
|
Volume=/home/{{ansible_user}}/vol/rtl/RTL-Config.json:/RTL/RTL-Config.json:Z
|
||||||
|
Volume=/home/{{ansible_user}}/vol/clightning:/RTL/:ro,Z
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# Restart service when sleep finishes
|
# Restart service when sleep finishes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user