From 53bda3718876eaad495badf0bf8184aae214ee97 Mon Sep 17 00:00:00 2001 From: poma Date: Sun, 24 May 2020 02:45:50 +0300 Subject: [PATCH] readme --- README.md | 21 +++++++++++++++++++++ docker-compose.yml | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..6f775df --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# Tornado onion service + +This repo can be used to run tornado.cash as an onion service. + +## Usage: + +You will need a machine with Docker installed. First, generate a private key for a new .onion domain: + +```shell script +docker run --rm --entrypoint shallot strm/tor-hiddenservice-nginx ^foo +``` + +Then paste the private key to `docker-compose.yml` + +Then run + +```shell script +docker-compose up -d +``` + +In a few minutes tornado.cash UI should be available on your .onion domain \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index c7a73a1..077ae15 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,8 @@ services: environment: LISTEN_PORT: 80 REDIRECT: web:80 - # tornaw7ltlqw544t.onion + # Generate a new key with + # docker run --rm --entrypoint shallot strm/tor-hiddenservice-nginx ^foo PRIVATE_KEY: | -----BEGIN RSA PRIVATE KEY----- ...