Skip to content

wollomatic/torrelay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

torrelay

Tor relay with docker / docker compose

Prerequisities

  • You need docker / docker compose installed on a linux machine with amd64 architecture.
  • You should know what tor and tor relays are.
  • You should know what You are doing.

Getting Started

The container image is available on docker hub: https://hub.docker.com/r/wollomatic/torrelay

Get the sample configuration from the Github Repo

configure torrc

  • Copy torrc.EXAMPLE to torrc
  • Change Nickname and ContactInfo
  • If running multiple relays, uncomment MyFamily line and insert relay info
  • Check and adjust ORPort, BandwidthRate, MaxAdvertisedBandwidth, MaxMemInQueues
  • (Or use your own torrc)

configure compose.yaml

  • Check and adjust compose.yaml
  • run docker compose up -d && docker compose logs -f to start the relay and check the logs

Volumes

  • /etc/tor/torrc - torrc
  • /var/lib/tor - tor data directory

GitHub repository

Authors

License

This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.

Acknowledgments