Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TOR federation in docker-compose #7875

Merged
merged 1 commit into from Jun 26, 2018
Merged

TOR federation in docker-compose #7875

merged 1 commit into from Jun 26, 2018

Conversation

ghost
Copy link

@ghost ghost commented Jun 22, 2018

This PR adds an optional section to the docker-compose.yml that shows how to enable tor federation. I hope that by adding this into the docker-compose it will encourage more instances to enable tor federation. I have been running this on my instance for a while so I am pretty sure it is stable. Thanks to Sir Boops who helped me set this up and runs it on on their instance as well.

@ykzts
Copy link
Sponsor Member

ykzts commented Jun 25, 2018

cc @hcmiya

@hcmiya
Copy link
Contributor

hcmiya commented Jun 25, 2018

I am not familiar with Docker, but if it follows the procedure of composing an HTTP proxy with privoxy and tor, I think there is no problem.

## Uncomment to enable federation with tor instances along with adding the following ENV variables
## http_proxy=http://privoxy:8118
## ALLOW_ACCESS_TO_HIDDEN_SERVICE=true
## HIDDEN_SERVICE_VIA_TRANSPARENT_PROXY=true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if http_proxy is used, HIDDEN_SERVICE_VIA_TRANSPARENT_PROXY is not used so it should be removed.

@Gargron Gargron merged commit 905bd24 into mastodon:master Jun 26, 2018
lawremipsum pushed a commit to lawremipsum/mspsocial-mastodon that referenced this pull request Jul 7, 2018
@ghost ghost deleted the tor branch September 23, 2018 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants