Move attributes from the ipfs cookbook to kosmos-ipfs
The default attributes set in the ipfs cookbook do not include attributes that are specific to Kosmos anymore
This commit is contained in:
@@ -1,5 +1,19 @@
|
||||
# FIXME api_port should come from the ipfs cookbook/attributes
|
||||
# It has nothing to do with nginx
|
||||
node.default['kosmos-ipfs']['ipfs']['config'] = {
|
||||
# The default gateway is already used by kosmos' hubot (8080)
|
||||
"Addresses.Gateway" => "/ip4/127.0.0.1/tcp/9090",
|
||||
# Do not keep track of bandwidth metrics. Disabling bandwidth metrics can
|
||||
# lead to a slight performance improvement, as well as a reduction in memory
|
||||
# usage.
|
||||
'Swarm.DisableBandwidthMetrics' => true,
|
||||
# Disable the p2p-circuit relay transport
|
||||
'Swarm.DisableRelay' => true,
|
||||
# Number of connections that, when exceeded, will trigger a connection GC
|
||||
# operation
|
||||
'Swarm.ConnMgr.HighWater' => 40,
|
||||
# Minimum number of connections to maintain
|
||||
'Swarm.ConnMgr.LowWater' => 20
|
||||
}
|
||||
|
||||
node.default['kosmos-ipfs']['nginx']['api_port'] = 5001
|
||||
node.default['kosmos-ipfs']['nginx']['gateway_port'] = 9090
|
||||
node.default['kosmos-ipfs']['nginx']['external_api_port'] = 5444
|
||||
|
||||
Reference in New Issue
Block a user