Add Tor, configure hidden service for Mastodon #95

Merge aplicado
raucao aplicou merge dos 7 commits de feature/tor_hidden_services em master 2019-09-09 11:38:29 +00:00
Proprietário

This installs and configures Tor and a Tor hidden service for Mastodon (or any other port 80 sites).

It's running in production now: https://kosmos.social/@kosmos/102722941255208284

We can now also add more hidden services for other sites and programs.

This installs and configures Tor and a Tor hidden service for Mastodon (or any other port 80 sites). It's running in production now: https://kosmos.social/@kosmos/102722941255208284 We can now also add more hidden services for other sites and programs.
Autor
Proprietário

Update: added a hidden service for ejabberd as well. It's available at ht6eqe754p3m2gif.onion.

Update: added a hidden service for ejabberd as well. It's available at `ht6eqe754p3m2gif.onion`.
Proprietário

I added a comment about the attributes in my review, the rest looks good!

I added a comment about the attributes in my review, the rest looks good!
greg alterações solicitadas 2019-09-05 09:49:48 +00:00
@ -1,2 +1,9 @@
node.default["kosmos-ejabberd"]["version"] = "19.02"
node.default["kosmos-ejabberd"]["checksum"] = "aea550c58e61eab04ca9beb8896d8b04f4a79321c21dee160a67ad6787236f51"
node.default["tor"]["HiddenServices"]["ejabberd"] = {
Proprietário

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`
@ -4,3 +4,6 @@ node.default["kosmos-mastodon"]["streaming_port"] = 4000
node.default["kosmos-mastodon"]["server_name"] = "kosmos.social"
node.default["kosmos-mastodon"]["redis_url"] = "redis://localhost:6379/1"
node.default["kosmos-mastodon"]["sidekiq_threads"] = 25
node.default["tor"]["HiddenServices"]["mastodon"] = {
Proprietário

Same thing as in site-cookbooks/kosmos-ejabberd/attributes/default.rb

Same thing as in `site-cookbooks/kosmos-ejabberd/attributes/default.rb`
raucao fechou este pull request 2019-09-09 11:38:29 +00:00
greg excluiu branch feature/tor_hidden_services 2019-09-09 12:47:49 +00:00
Acesse para participar desta conversação.
Sem revisor
Sem marco
Sem projeto
Sem responsável
2 participante(s)
Notificações
Data limite
A data limite é inválida ou está fora do intervalo. Por favor, use o formato 'dd/mm/aaaa'.

Data limite não informada.

Dependências

Nenhuma dependência definida.

Referência: kosmos/chef#95
Nenhuma descrição fornecida.