Compare commits

..

2 Commits

Author SHA1 Message Date
Râu Cao
ccca0ab9ca
Allow send_message endpoint from akkounts 2023-01-12 11:40:19 +08:00
Râu Cao
4bd0f9d6ad
Configure Webhook URL for lndhub.go 2023-01-12 11:39:50 +08:00

View File

@ -21,9 +21,8 @@ postgres_port = node['lndhub-go']['postgres']['port']
begin
akkounts_host = search(:node, "role:akkounts").first["knife_zero"]["host"]
node['lndhub-go']['webhook_url'] = "http://#{akkounts_host}:3000/webhooks/lndhub"
rescue
# No akkounts host found
node['lndhub-go']['webhook_url'] = "http://#{akkounts_host}:3000/webhooks/lndhub"
end
git source_dir do