Add IPFS config for hubot-kredits
This commit is contained in:
parent
9065db8476
commit
a715756e7f
@ -2,3 +2,6 @@ node.default['hal8000']['kredits']['provider_url'] = 'https://parity.kosmos.
|
||||
node.default['hal8000']['kredits']['room'] = '#kosmos'
|
||||
node.default['hal8000']['kredits']['wallet_path'] = 'wallet.json'
|
||||
node.default['hal8000']['kredits']['contract_address'] = '0x7dfab325c6ec203597c419b4b3172c6b219b9315'
|
||||
node.default['hal8000']['kredits']['ipfs_host'] = 'ipfs.kosmos.org'
|
||||
node.default['hal8000']['kredits']['ipfs_port'] = '5444'
|
||||
node.default['hal8000']['kredits']['ipfs_protocol'] = 'https'
|
||||
|
@ -102,7 +102,10 @@ application hal8000_path do
|
||||
"KREDITS_ROOM" => node['hal8000']['kredits']['room'],
|
||||
"KREDITS_WALLET_PATH" => node['hal8000']['kredits']['wallet_path'],
|
||||
"KREDITS_WALLET_PASSWORD" => hal8000_freenode_data_bag_item['kredits_wallet_password'],
|
||||
"KREDITS_CONTRACT_ADDRESS" => node['hal8000']['kredits']['contract_address']
|
||||
"KREDITS_CONTRACT_ADDRESS" => node['hal8000']['kredits']['contract_address'],
|
||||
"IPFS_API_HOST" => node['hal8000']['kredits']['ipfs_host'],
|
||||
"IPFS_API_PORT" => node['hal8000']['kredits']['ipfs_port'],
|
||||
"IPFS_API_PROTOCOL" => node['hal8000']['kredits']['ipfs_protocol']
|
||||
}
|
||||
)
|
||||
notifies :run, "execute[systemctl daemon-reload]", :delayed
|
||||
|
Loading…
x
Reference in New Issue
Block a user