add lnbits vol to store data

This commit is contained in:
barry 2024-02-16 17:23:05 -06:00
parent 52908e893e
commit 290fd467ed
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,11 @@
path: ~/containers/lnbits
state: directory
- name: lnbits - Create lnbits vol directory
ansible.builtin.file:
path: ~/vol/lnbits
state: directory
- name: lnbits - Copy Containerfile
ansible.builtin.template:
src: lnbits/Containerfile.j2

View File

@ -9,6 +9,7 @@ PodmanArgs=--pod bitcoin-pod
# Use volume
Volume=/home/n0xb0x/vol/clightning/.lightning:/.lightning:Z
Volume=/home/n0xb0x/vol/lnbits/:/app/data:Z
[Service]
# Restart service when sleep finishes