Store Gitea data (avatars, attachments, etc.) in Garage/S3
Also adds a new garage gateway role, which only allows RPC (inter-node) traffic to Garage.
This commit is contained in:
8
site-cookbooks/kosmos_garage/recipes/firewall_rpc.rb
Normal file
8
site-cookbooks/kosmos_garage/recipes/firewall_rpc.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
include_recipe 'firewall'
|
||||
|
||||
firewall_rule 'garage_rpc' do
|
||||
command :allow
|
||||
protocol :tcp
|
||||
source "10.1.1.0/24"
|
||||
port node['garage']['rpc_port']
|
||||
end
|
||||
Reference in New Issue
Block a user