Set up kosmos-hubot to use ipfs-cluster

That way a new document will be added and pinned on all members of the
cluster

Fixes #46
This commit is contained in:
Greg Karékinian 2019-04-26 16:54:02 +02:00
parent 30e225f63c
commit 696d7cd561
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
node.default['hal8000']['kredits']['ipfs_host'] = 'localhost' node.default['hal8000']['kredits']['ipfs_host'] = 'localhost'
node.default['hal8000']['kredits']['ipfs_port'] = '5001' # Use the running ipfs-cluster, so adding documents adds and pins them on all
# members of the cluster
node.default['hal8000']['kredits']['ipfs_port'] = '9095'
node.default['hal8000']['kredits']['ipfs_protocol'] = 'http' node.default['hal8000']['kredits']['ipfs_protocol'] = 'http'
node.default['hal8000']['kredits']['room'] = '#kosmos' node.default['hal8000']['kredits']['room'] = '#kosmos'
node.default['hal8000']['kredits']['provider_url'] = 'https://rinkeby.infura.io/v3/c5e74367261d475ab935e2f0e726482f' node.default['hal8000']['kredits']['provider_url'] = 'https://rinkeby.infura.io/v3/c5e74367261d475ab935e2f0e726482f'

View File

@ -4,7 +4,7 @@ maintainer_email 'mail@kosmos.org'
license 'MIT' license 'MIT'
description 'Configures Kosmos chat bots' description 'Configures Kosmos chat bots'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.0' version '0.1.1'
depends 'kosmos-nodejs' depends 'kosmos-nodejs'
depends 'kosmos-redis' depends 'kosmos-redis'