Add LndHub backups
This commit is contained in:
		
							parent
							
								
									3962666a39
								
							
						
					
					
						commit
						6b2e501c90
					
				| @ -70,7 +70,9 @@ | |||||||
|       "nginx::commons_dir", |       "nginx::commons_dir", | ||||||
|       "nginx::commons_script", |       "nginx::commons_script", | ||||||
|       "nginx::commons_conf", |       "nginx::commons_conf", | ||||||
|       "kosmos-nginx::firewall" |       "kosmos-nginx::firewall", | ||||||
|  |       "backup::default", | ||||||
|  |       "logrotate::default" | ||||||
|     ], |     ], | ||||||
|     "platform": "ubuntu", |     "platform": "ubuntu", | ||||||
|     "platform_version": "20.04", |     "platform_version": "20.04", | ||||||
|  | |||||||
| @ -20,6 +20,7 @@ chef_version '>= 14.0' | |||||||
| # source_url 'https://github.com/<insert_org_here>/kosmos-bitcoin' | # source_url 'https://github.com/<insert_org_here>/kosmos-bitcoin' | ||||||
| 
 | 
 | ||||||
| depends 'ark' | depends 'ark' | ||||||
|  | depends 'backup' | ||||||
| depends 'git' | depends 'git' | ||||||
| depends 'golang' | depends 'golang' | ||||||
| depends 'kosmos-nginx' | depends 'kosmos-nginx' | ||||||
|  | |||||||
| @ -114,4 +114,7 @@ unless node.chef_environment == "development" | |||||||
|   nginx_site node[app_name]['domain'] do |   nginx_site node[app_name]['domain'] do | ||||||
|     action :enable |     action :enable | ||||||
|   end |   end | ||||||
|  | 
 | ||||||
|  |   node.override["backup"]["archives"]["lndhub"] = ["/var/lib/redis/dump-6379.rdb"] | ||||||
|  |   include_recipe "backup" | ||||||
| end | end | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user