continued working on lnbits

This commit is contained in:
2024-02-16 15:26:26 -06:00
parent 3788e43b0b
commit 33d4fac979
5 changed files with 62 additions and 3 deletions
@@ -49,7 +49,7 @@ SPARK_URL=http://localhost:9737/rpc
SPARK_TOKEN=myaccesstoken
# CoreLightningWallet
CORELIGHTNING_RPC="/root/.lightning/bitcoin/lightning-rpc"
CORELIGHTNING_RPC="/.lightning/bitcoin/lightning-rpc"
# CoreLightningRestWallet
CORELIGHTNING_REST_URL=http://127.0.0.1:8185/
+1 -1
View File
@@ -1,3 +1,3 @@
#!/bin/sh
#buildah bud -f Containerfile -t lnbits:{{lnbits_version}}
buildah bud -f Containerfile -t lnbits:{{lnbits_version}}
@@ -0,0 +1,23 @@
[Unit]
Description=LNBITS Node
After=clightning-node.service
[Container]
# Use the centos image
Image={{ registry_url }}/lnbits:{{ lnbits_version }}
PodmanArgs=--pod bitcoin-pod
# Use volume
Volume=/home/n0xb0x/vol/clightning/.lightning:/.lightning:Z
[Service]
# Restart service when sleep finishes
Restart=always
# Extend Timeout to allow time to pull the image
TimeoutStartSec=900
# ExecStartPre flag and other systemd commands can go here, see systemd.unit(5) man page.
# ExecStartPre=/usr/share/mincontainer/setup.sh
[Install]
# Start by default on boot
WantedBy=multi-user.target default.target