From 2e58fef9dca73dcf92ba3da2196b990c874f3958 Mon Sep 17 00:00:00 2001 From: poma Date: Fri, 13 Dec 2019 20:14:50 +0700 Subject: [PATCH] add mainnet example --- docker-compose.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index c19febf..c836333 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,7 +13,24 @@ services: PRIVATE_KEY: # 2.5 means 2.5% RELAYER_FEE: 2.5 - REDIS_URL: redis + REDIS_URL: redis://redis/0 + nginx_proxy_read_timeout: 600 + depends_on: + - redis + + mainnet: + image: tornadocash/relayer + restart: always + environment: + VIRTUAL_HOST: example2.duckdns.org + LETSENCRYPT_HOST: example2.duckdns.org + NET_ID: 1 + RPC_URL: https://mainnet.infura.io + # without 0x prefix + PRIVATE_KEY: + # 2.5 means 2.5% + RELAYER_FEE: 2.5 + REDIS_URL: redis://redis/1 nginx_proxy_read_timeout: 600 depends_on: - redis