add lnbits vol to store data
This commit is contained in:
parent
52908e893e
commit
290fd467ed
@ -7,6 +7,11 @@
|
|||||||
path: ~/containers/lnbits
|
path: ~/containers/lnbits
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
|
- name: lnbits - Create lnbits vol directory
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: ~/vol/lnbits
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: lnbits - Copy Containerfile
|
- name: lnbits - Copy Containerfile
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: lnbits/Containerfile.j2
|
src: lnbits/Containerfile.j2
|
||||||
|
|||||||
@ -9,6 +9,7 @@ PodmanArgs=--pod bitcoin-pod
|
|||||||
|
|
||||||
# Use volume
|
# Use volume
|
||||||
Volume=/home/n0xb0x/vol/clightning/.lightning:/.lightning:Z
|
Volume=/home/n0xb0x/vol/clightning/.lightning:/.lightning:Z
|
||||||
|
Volume=/home/n0xb0x/vol/lnbits/:/app/data:Z
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# Restart service when sleep finishes
|
# Restart service when sleep finishes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user