Greg Karékinian 2f87e7c07c Add the ability to override the IPFS port that nginx connects to
This allows us to use the API proxy from the cluster
2018-08-16 15:59:44 +02:00

21 lines
372 B
Ruby

#
# Cookbook Name:: kosmos-ipfs
# Recipe:: cluster
#
# Copyright 2018, Kosmos
#
# All rights reserved - Do Not Redistribute
#
include_recipe "ipfs::cluster"
include_recipe "ipfs::cluster_service"
unless node.chef_environment == "development"
include_recipe "firewall"
firewall_rule 'ipfs_cluster' do
port 9096
protocol :tcp
command :allow
end
end