use-to / docky-onion

dockerized tor daemon to turn your service to a hidden service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docky-onion

You have a normal service and want to bring it into the tor network now? Then you've come to the right place! Come in and have a look around!

docker-compose

version: "3.3"

services:
  docky-onion:
    image: useto/docky-onion
    restart: always
    environment:
      # this forwards 80 and 8080 to web:80
      TOR_HIDDEN_SERVICE_WEB: "80 web:80;8080 web:80"

      # this forwards only 6667 irc:6667
      TOR_HIDDEN_SERVICE_IRC: "6667 irc:6667"
    volumes:
      - "docky-onion:/var/lib/tor/hidden_services"

  web:
    image: nginx
    restart: always
    depends_on:
      - docky-onion

  irc:
    image: inspircd/inspircd-docker
    restart: always
    depends_on:
      - docky-onion

volumes:
  docky-onion:

After you have started the container you can read the .onion-addresses as follows:

$ docker-compose exec docky-onion lookup

IRC => a3s3dfyaruqjq6exi76ivtnjv77qkjnfkaoaw5rlyj5a4id2zrkxaoyd.onion
WEB => j3c7wmyv6b3q3uvowetwwygb7h57k2bjhtnwp2zfamda2ij2vanyhmid.onion

About

dockerized tor daemon to turn your service to a hidden service

License:GNU General Public License v3.0


Languages

Language:Python 79.5%Language:Dockerfile 14.5%Language:Shell 6.0%