Add LndHub backups

This commit is contained in:
Basti 2021-11-26 11:22:24 -06:00
parent 3962666a39
commit 6b2e501c90
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72
3 changed files with 7 additions and 1 deletions

View File

@ -70,7 +70,9 @@
"nginx::commons_dir",
"nginx::commons_script",
"nginx::commons_conf",
"kosmos-nginx::firewall"
"kosmos-nginx::firewall",
"backup::default",
"logrotate::default"
],
"platform": "ubuntu",
"platform_version": "20.04",

View File

@ -20,6 +20,7 @@ chef_version '>= 14.0'
# source_url 'https://github.com/<insert_org_here>/kosmos-bitcoin'
depends 'ark'
depends 'backup'
depends 'git'
depends 'golang'
depends 'kosmos-nginx'

View File

@ -114,4 +114,7 @@ unless node.chef_environment == "development"
nginx_site node[app_name]['domain'] do
action :enable
end
node.override["backup"]["archives"]["lndhub"] = ["/var/lib/redis/dump-6379.rdb"]
include_recipe "backup"
end