Relayer 2.0
Deploy with docker-compose
docker-compose.yml contains a stack that will automatically provision SSL certificates for your domain name and will add a https redirect to port 80.
- Download docker-compose.yml
- Change environment variables for
kovan
containers as appropriate- add
PRIVATE_KEY
for your relayer address - set
VIRTUAL_HOST
andLETSENCRYPT_HOST
to your domain and add DNS record pointing to your relayer ip address - customize
RELAYER_FEE
- update
RPC_URL
if needed
- add
- Run
docker-compose up -d
Run as a Docker container
cp .env.example .env
- Modify
.env
as needed docker run -d --env-file .env -p 80:8000 tornadocash/relayer
In that case you will need to add https termination yourself because browsers with default settings will prevent https
tornado.cash UI from submitting your request over http connection