Upgrade lndhub.go to 1.0.2, add service fee config
Co-authored-by: Michael Bumann <hello@michaelbumann.com>
This commit is contained in:
parent
52841d8c53
commit
b4019b224b
@ -65,7 +65,7 @@ node.default['rtl']['host'] = '10.1.1.163'
|
|||||||
node.default['rtl']['port'] = '3000'
|
node.default['rtl']['port'] = '3000'
|
||||||
|
|
||||||
node.default['lndhub-go']['repo'] = 'https://github.com/getAlby/lndhub.go.git'
|
node.default['lndhub-go']['repo'] = 'https://github.com/getAlby/lndhub.go.git'
|
||||||
node.default['lndhub-go']['revision'] = '0.14.0'
|
node.default['lndhub-go']['revision'] = '1.0.2'
|
||||||
node.default['lndhub-go']['source_dir'] = '/opt/lndhub-go'
|
node.default['lndhub-go']['source_dir'] = '/opt/lndhub-go'
|
||||||
node.default['lndhub-go']['port'] = 3026
|
node.default['lndhub-go']['port'] = 3026
|
||||||
node.default['lndhub-go']['domain'] = 'lndhub.kosmos.org'
|
node.default['lndhub-go']['domain'] = 'lndhub.kosmos.org'
|
||||||
@ -75,6 +75,8 @@ node.default['lndhub-go']['postgres']['port'] = 5432
|
|||||||
node.default['lndhub-go']['default_rate_limit'] = 20
|
node.default['lndhub-go']['default_rate_limit'] = 20
|
||||||
node.default['lndhub-go']['strict_rate_limit'] = 1
|
node.default['lndhub-go']['strict_rate_limit'] = 1
|
||||||
node.default['lndhub-go']['burst_rate_limit'] = 10
|
node.default['lndhub-go']['burst_rate_limit'] = 10
|
||||||
|
node.default['lndhub-go']['service_fee'] = 1
|
||||||
|
node.default['lndhub-go']['no_service_fee_up_to_amount'] = 1000
|
||||||
node.default['lndhub-go']['branding'] = {
|
node.default['lndhub-go']['branding'] = {
|
||||||
'title' => 'LndHub - Kosmos Lightning',
|
'title' => 'LndHub - Kosmos Lightning',
|
||||||
'desc' => 'Kosmos accounts for the Lightning Network',
|
'desc' => 'Kosmos accounts for the Lightning Network',
|
||||||
|
@ -66,6 +66,8 @@ template "#{source_dir}/.env" do
|
|||||||
default_rate_limit: node['lndhub-go']['default_rate_limit'],
|
default_rate_limit: node['lndhub-go']['default_rate_limit'],
|
||||||
strict_rate_limit: node['lndhub-go']['strict_rate_limit'],
|
strict_rate_limit: node['lndhub-go']['strict_rate_limit'],
|
||||||
burst_rate_limit: node['lndhub-go']['burst_rate_limit'],
|
burst_rate_limit: node['lndhub-go']['burst_rate_limit'],
|
||||||
|
service_fee: 1,
|
||||||
|
no_service_fee_up_to_amount: 1000,
|
||||||
branding: node['lndhub-go']['branding'],
|
branding: node['lndhub-go']['branding'],
|
||||||
webhook_url: node['lndhub-go']['webhook_url'],
|
webhook_url: node['lndhub-go']['webhook_url'],
|
||||||
sentry_dsn: credentials['sentry_dsn']
|
sentry_dsn: credentials['sentry_dsn']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user