Tor relay with docker / docker compose
- 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.
The container image is available on docker hub: https://hub.docker.com/r/wollomatic/torrelay
Get the sample configuration from the Github Repo
- 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)
- Check and adjust compose.yaml
- run
docker compose up -d && docker compose logs -f
to start the relay and check the logs
/etc/tor/torrc
- torrc/var/lib/tor
- tor data directory
- W. Ellsaesser - Initial work - wollomatic
This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.
- This project is inspired by docker-obfs4-bridge