This commit is contained in:
poma 2020-05-24 02:45:50 +03:00
parent 69e19383e4
commit 53bda37188
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657
2 changed files with 23 additions and 1 deletions

21
README.md Normal file
View File

@ -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

View File

@ -12,7 +12,8 @@ services:
environment: environment:
LISTEN_PORT: 80 LISTEN_PORT: 80
REDIRECT: web:80 REDIRECT: web:80
# tornaw7ltlqw544t.onion # Generate a new key with
# docker run --rm --entrypoint shallot strm/tor-hiddenservice-nginx ^foo
PRIVATE_KEY: | PRIVATE_KEY: |
-----BEGIN RSA PRIVATE KEY----- -----BEGIN RSA PRIVATE KEY-----
... ...