Skip to content

Instantly share code, notes, and snippets.

@samsesh
Last active August 6, 2023 19:57

Revisions

  1. samsesh revised this gist Jul 31, 2022. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions tor-docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -11,12 +11,12 @@ services:
    - 9050:9050 # socks proxy
    - 8118:8118 # http proxy
    environment:
    - TORUSER=tor #If set use named user instead of 'tor' (for example root)
    - BW=100 #set a tor relay bandwidth limit in KB, IE 50
    - EXITNODE=1 #allow tor traffic to access the internet from your IP
    - LOCATION=EST5EDT #configure the country to use for exit node selection
    - SERVICE=80;hostname:80 # configure hidden service, IE '80;hostname:80'
    - PASSWORD=tor #configure HashedControlPassword for control port
    #- TORUSER=tor #If set use named user instead of 'tor' (for example root)
    #- BW=100 #set a tor relay bandwidth limit in KB, IE 50
    #- EXITNODE=1 #allow tor traffic to access the internet from your IP
    #- LOCATION=EST5EDT #configure the country to use for exit node selection
    #- SERVICE=80;hostname:80 # configure hidden service, IE '80;hostname:80'
    #- PASSWORD=tor #configure HashedControlPassword for control port
    - TZ=EST5EDT #Configure the zoneinfo timezone, IE EST5EDT


  2. samsesh revised this gist Jul 31, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion tor-docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    version: "3"
    services:
    tor:
    image: dperson/torproxy
    image: dperson/torproxy #based on https://github.com/dperson/torproxy
    hostname: tor
    container_name: tor
    restart: always
  3. samsesh created this gist Jul 31, 2022.
    27 changes: 27 additions & 0 deletions tor-docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    version: "3"
    services:
    tor:
    image: dperson/torproxy
    hostname: tor
    container_name: tor
    restart: always
    networks:
    - tor
    ports:
    - 9050:9050 # socks proxy
    - 8118:8118 # http proxy
    environment:
    - TORUSER=tor #If set use named user instead of 'tor' (for example root)
    - BW=100 #set a tor relay bandwidth limit in KB, IE 50
    - EXITNODE=1 #allow tor traffic to access the internet from your IP
    - LOCATION=EST5EDT #configure the country to use for exit node selection
    - SERVICE=80;hostname:80 # configure hidden service, IE '80;hostname:80'
    - PASSWORD=tor #configure HashedControlPassword for control port
    - TZ=EST5EDT #Configure the zoneinfo timezone, IE EST5EDT



    networks:
    tor:
    name: tor
    driver: bridge