Add Tor, configure hidden service for Mastodon #95

Merged
raucao merged 7 commits from feature/tor_hidden_services into master 2019-09-09 11:38:29 +00:00
3 changed files with 9 additions and 0 deletions
Showing only changes of commit 03b3b2de91 - Show all commits

View File

@ -1,2 +1,9 @@
node.default["kosmos-ejabberd"]["version"] = "19.02"
node.default["kosmos-ejabberd"]["checksum"] = "aea550c58e61eab04ca9beb8896d8b04f4a79321c21dee160a67ad6787236f51"
node.default["tor"]["HiddenServices"]["ejabberd"] = {
Review

I think this belongs in the recipe (just before include_recipe "tor-full"), and using node.override

I think this belongs in the recipe (just before `include_recipe "tor-full"`), and using `node.override`
"HiddenServicePorts" => [
"5222 127.0.0.1:5222",
"5223 127.0.0.1:5223",
"5269 127.0.0.1:5269"
]
}

View File

@ -23,3 +23,4 @@ depends "kosmos-postgresql"
depends "kosmos-base"
depends "backup"
depends "firewall"
depends "tor-full"

View File

@ -25,6 +25,7 @@
# THE SOFTWARE.
include_recipe "kosmos-postgresql"
include_recipe "tor-full"
cookbook_file "#{Chef::Config[:file_cache_path]}/pg.sql" do
source "pg.sql"