How to create Discourse mirror in Tor .onion domain?


Sorry for the arrogance, but there is very little information and there is no one to ask.

I saw forum Whonix use Discourse and have .onion mirror. I’m to use Discourse in Docker and try create .onion mirror, but nothing works :cry:

Please, maybe you share manual how you can do it?

My steps:

  1. apt install tor
  2. edit file /etc/tor/torrc
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80
HiddenServiceVersion 3
  1. restart
systemctl restart tor
systemctl enable tor
  1. check my onion domain
cat /var/lib/tor/hidden_service/hostname
  1. go to cd /var/discourse/ and edit app.yml
    add templates web.onion.template.yml
    add DISCOURSE_ONION look like:
DISCOURSE_ONION example.onion
  1. ./launcher rebuild app

After these settings, the forum is not available in clearnet and in Tor. Maybe I need change post? :pensive: