Migrate Discourse to new VM on fornax #389

Merged
raucao merged 11 commits from chore/migrate_discourse into master 2022-02-18 19:02:49 +00:00
2 changed files with 10 additions and 0 deletions
Showing only changes of commit 163b12efbc - Show all commits

View File

@@ -8,3 +8,4 @@ version '0.1.0'
chef_version '>= 14.0'
depends "kosmos-nginx"
depends 'firewall'

View File

@@ -32,3 +32,12 @@ systemd_unit "discourse.service" do
}})
action [:create, :enable]
end
include_recipe 'firewall'
firewall_rule 'discourse' do
port [3001]
source "10.1.1.0/24"
protocol :tcp
command :allow
end