added RTL-Config.json config file.

modified volume mounts to load RTL-Config.json
This commit is contained in:
b0xxer 2024-02-17 11:59:18 -06:00
parent b389996afb
commit cce44c1fec
3 changed files with 42 additions and 0 deletions

View File

@ -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
ansible.builtin.file:

View 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"
}

View File

@ -6,6 +6,9 @@ Image={{ registry_url }}/rtl:{{ rtl_version }}
PodmanArgs=--pod bitcoin-pod
# 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]
# Restart service when sleep finishes