Switch Discourse uploads and backups to Garage/S3
This commit is contained in:
@@ -8,3 +8,4 @@ version '0.1.0'
|
||||
chef_version '>= 14.0'
|
||||
|
||||
depends 'discourse'
|
||||
depends 'firewall'
|
||||
|
||||
@@ -4,3 +4,10 @@
|
||||
#
|
||||
|
||||
include_recipe 'discourse'
|
||||
|
||||
firewall_rule "garage_docker" do
|
||||
command :allow
|
||||
port node['garage']['s3_api_port']
|
||||
protocol :tcp
|
||||
source "172.17.0.1/24"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user