lnbits deployment seems to work
This commit is contained in:
parent
a41e1d9383
commit
0db4cf94b5
4 changed files with 249 additions and 1 deletions
17
ansible/services/lnbits/lnbits_vars.yml
Normal file
17
ansible/services/lnbits/lnbits_vars.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# General
|
||||
lnbits_dir: /opt/lnbits
|
||||
lnbits_data_dir: "{{ lnbits_dir }}/data"
|
||||
lnbits_port: 8765
|
||||
|
||||
# Caddy
|
||||
caddy_sites_dir: /etc/caddy/sites-enabled
|
||||
lnbits_subdomain: wallet
|
||||
|
||||
# Remote access
|
||||
remote_host: "{{ groups['vipy'][0] }}"
|
||||
remote_user: "{{ hostvars[remote_host]['ansible_user'] }}"
|
||||
remote_key_file: "{{ hostvars[remote_host]['ansible_ssh_private_key_file'] | default('') }}"
|
||||
|
||||
# Local backup
|
||||
local_backup_dir: "{{ lookup('env', 'HOME') }}/lnbits-backups"
|
||||
backup_script_path: "{{ lookup('env', 'HOME') }}/.local/bin/lnbits_backup.sh"
|
||||
Loading…
Add table
Add a link
Reference in a new issue