Add LndHub backups
This commit is contained in:
		
							parent
							
								
									3962666a39
								
							
						
					
					
						commit
						6b2e501c90
					
				| @ -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", | ||||
|  | ||||
| @ -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' | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user