Don't connect to IPFS through localhost in hal8000

Use the new IPFS node on the new server
This commit is contained in:
Greg Karékinian 2018-04-17 18:52:35 +02:00
parent 11db96b3a1
commit 44625ee017

View File

@ -104,10 +104,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']
# "IPFS_API_HOST" => node['hal8000']['kredits']['ipfs_host'],
# "IPFS_API_PORT" => node['hal8000']['kredits']['ipfs_port'],
# "IPFS_API_PROTOCOL" => node['hal8000']['kredits']['ipfs_protocol']
"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