r3bo0tbx1/onion-relay

By r3bo0tbx1

â€ĒUpdated 1 day ago

🧅 Hardened Tor Bridge, Relay & Exit Relay with diagnostics & auto-healing

Image
Networking
Security
1

10K+

r3bo0tbx1/onion-relay repository overview

Tor AIO Logo

⁠Tor AIO Stack

⁠Complete Bridge, Relay & Exit Node Solution

GitHub Stars Release Docker Pulls Platforms

Hardened â€Ē Lightweight â€Ē Production-Ready


⁠🚀 Quick Start

docker run -d \
  --name tor-relay \
  --restart unless-stopped \
  --network host \
  --security-opt no-new-privileges:true \
  -v $(pwd)/relay.conf:/etc/tor/torrc:ro \
  -v tor-guard-data:/var/lib/tor \
  -v tor-guard-logs:/var/log/tor \
  r3bo0tbx1/onion-relay:latest

📝 Need a config file? → Download sample torrc files⁠


⁠âœĻ Key Features

FeatureDescription
ðŸŠķ Ultra-LightweightOnly ~16.8 MB image size
🔒 Security HardenedNon-root user + Alpine Linux base
🏗ïļ Multi-ArchitectureNative support for AMD64 & ARM64
📊 Built-in Monitoring5 diagnostic tools + JSON health API
🔄 Auto-UpdatedWeekly security rebuilds
ðŸŽŊ Production-ReadyBattle-tested configuration

⁠ðŸ“Ķ What's Included

  • Tor Bridge - Help censored users connect
  • Tor Relay - Middle relay for the network
  • Tor Exit - Exit node configuration support
  • Health Checks - Container health monitoring
  • Metrics Export - For Prometheus/Grafana integration

⁠🛠ïļ Docker Compose

version: '3.8'

services:
  tor-relay:
    image: r3bo0tbx1/onion-relay:latest
    container_name: tor-relay
    restart: unless-stopped
    network_mode: host
    environment:
      TOR_RELAY_MODE: guard
      TOR_NICKNAME: MyRelay
      TOR_CONTACT_INFO: "email:tor[]example.com ciissversion:3"
      TOR_ORPORT: 9001
      TOR_BANDWIDTH_RATE: 50 MBytes
      TOR_BANDWIDTH_BURST: 100 MBytes
    volumes:
      - tor-data:/var/lib/tor

volumes:
  tor-data:

⁠📚 Documentation


⁠ðŸĪ Support & Community


⁠🌟 Support This Project

If you find this Docker image useful, please 🌟âœĻ star 🌟âœĻ the repository!

GitHub Repo

Contributions and feedback are always welcome âĪïļ


Built with 💜 for the Tor community | Licensed under MIT

Tag summary

Content type

Image

Digest

sha256:47e0a5891â€Ķ

Size

20.8 MB

Last updated

1 day ago

docker pull r3bo0tbx1/onion-relay:edge