Add new env var for akkounts
This commit is contained in:
parent
25ee38fe27
commit
263eb88b72
@ -3,6 +3,7 @@
|
|||||||
"override_attributes": {
|
"override_attributes": {
|
||||||
"akkounts": {
|
"akkounts": {
|
||||||
"btcpay": {
|
"btcpay": {
|
||||||
|
"public_url": "https://btcpay.kosmos.org",
|
||||||
"store_id": "FNJVVsrVkKaduPDAkRVchdegjwzsNhpceAdonCaXAwBX"
|
"store_id": "FNJVVsrVkKaduPDAkRVchdegjwzsNhpceAdonCaXAwBX"
|
||||||
},
|
},
|
||||||
"ejabberd": {
|
"ejabberd": {
|
||||||
|
@ -11,6 +11,7 @@ node.default['akkounts']['smtp']['domain'] = 'kosmos.org'
|
|||||||
node.default['akkounts']['smtp']['auth_method'] = 'plain'
|
node.default['akkounts']['smtp']['auth_method'] = 'plain'
|
||||||
node.default['akkounts']['smtp']['enable_starttls'] = 'auto'
|
node.default['akkounts']['smtp']['enable_starttls'] = 'auto'
|
||||||
|
|
||||||
|
node.default['akkounts']['btcpay']['public_url'] = nil
|
||||||
node.default['akkounts']['btcpay']['store_id'] = nil
|
node.default['akkounts']['btcpay']['store_id'] = nil
|
||||||
|
|
||||||
node.default['akkounts']['ejabberd']['admin_url'] = nil
|
node.default['akkounts']['ejabberd']['admin_url'] = nil
|
||||||
|
@ -75,6 +75,7 @@ end
|
|||||||
|
|
||||||
if btcpay_host
|
if btcpay_host
|
||||||
env[:btcpay_api_url] = "http://#{btcpay_host}:23001/api/v1"
|
env[:btcpay_api_url] = "http://#{btcpay_host}:23001/api/v1"
|
||||||
|
env[:btcpay_public_url] = node['akkounts']['btcpay']['public_url']
|
||||||
env[:btcpay_store_id] = node['akkounts']['btcpay']['store_id']
|
env[:btcpay_store_id] = node['akkounts']['btcpay']['store_id']
|
||||||
env[:btcpay_auth_token] = credentials["btcpay_auth_token"]
|
env[:btcpay_auth_token] = credentials["btcpay_auth_token"]
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user