chef/site-cookbooks/kosmos-ipfs/recipes/firewall_public_gateway.rb
2022-10-10 15:29:17 +02:00

12 lines
223 B
Ruby

#
# Cookbook Name:: kosmos-ipfs
# Recipe:: firewall_public_gateway
#
include_recipe 'firewall'
firewall_rule 'ipfs_api' do
port node['kosmos-ipfs']['nginx']['external_api_port']
protocol :tcp
command :allow
end