Unverified Commit fb270a18 authored by Tom Moulard's avatar Tom Moulard
Browse files

tor: adding a way to have your own personnal tor relay

parent 423e633b
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
version: '2'

# See https://blog.jessfraz.com/post/running-a-tor-relay-with-docker/
# Checkou logs and https://atlas.torproject.org/ for annalytics

services:
  tor-relay:
    image: jess/tor-relay
    # Choose one of the bellow to set the type of node
    # command: -f /etc/tor/torrc.bridge
    command: -f /etc/tor/torrc.middle
    # command: -f /etc/tor/torrc.exit
    volumes:
      - '/etc/localtime:/etc/localtime'
    networks:
      - 'srv'
    ports:
        - '9001:9001'
    restart: always
    labels:
      - 'traefik.enable=false'