38 lines
1.9 KiB
Ruby
38 lines
1.9 KiB
Ruby
node.default['ipfs']['version'] = '0.4.17'
|
|
node.default['ipfs']['checksum'] = '1bb1050ebe74f9042ac721eb1b71f92e1b0e78e54c59dadfde13080facb2901c'
|
|
|
|
node.default['ipfs']['cluster']['version'] = '0.4.0'
|
|
node.default['ipfs']['cluster']['service']['checksum'] = 'a168e9d3544f53f3d734098533d606b88417f6319bc8f83b1af7ef1328ed246a'
|
|
node.default['ipfs']['cluster']['ctl']['checksum'] = 'c82ba76b21a6fc42c8c635962a356c51fe6d4d0fbac2a77bfdd159cbe6a56f49'
|
|
|
|
node.default['ipfs']['config'] = {
|
|
# Do not contact local network addresses. This will stop platforms like Hetzner
|
|
# to block your server (https://github.com/ipfs/go-ipfs/issues/1226)
|
|
'Swarm.AddrFilters' => ['/ip4/10.0.0.0/ipcidr/8',
|
|
'/ip4/100.64.0.0/ipcidr/10',
|
|
'/ip4/169.254.0.0/ipcidr/16',
|
|
'/ip4/172.16.0.0/ipcidr/12',
|
|
'/ip4/192.0.0.0/ipcidr/24',
|
|
'/ip4/192.0.0.0/ipcidr/29',
|
|
'/ip4/192.0.0.8/ipcidr/32',
|
|
'/ip4/192.0.0.170/ipcidr/32',
|
|
'/ip4/192.0.0.171/ipcidr/32',
|
|
'/ip4/192.0.2.0/ipcidr/24',
|
|
'/ip4/192.168.0.0/ipcidr/16',
|
|
'/ip4/198.18.0.0/ipcidr/15',
|
|
'/ip4/198.51.100.0/ipcidr/24',
|
|
'/ip4/203.0.113.0/ipcidr/24',
|
|
'/ip4/240.0.0.0/ipcidr/4'],
|
|
# 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' => 10,
|
|
# Minimum number of connections to maintain
|
|
'Swarm.ConnMgr.LowWater' => 1,
|
|
}
|