2019-12-05 14:08:54 -05:00
|
|
|
version: '2'
|
2019-12-12 15:04:19 -05:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
redis:
|
|
|
|
|
2019-12-05 14:08:54 -05:00
|
|
|
services:
|
|
|
|
kovan:
|
|
|
|
image: tornadocash/relayer
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
VIRTUAL_HOST: example.duckdns.org
|
|
|
|
LETSENCRYPT_HOST: example.duckdns.org
|
|
|
|
NET_ID: 42
|
|
|
|
RPC_URL: https://kovan.infura.io
|
2019-12-09 13:47:56 -05:00
|
|
|
# without 0x prefix
|
2019-12-12 05:58:58 -05:00
|
|
|
PRIVATE_KEY:
|
2019-12-05 14:08:54 -05:00
|
|
|
# 2.5 means 2.5%
|
|
|
|
RELAYER_FEE: 2.5
|
2019-12-12 05:58:58 -05:00
|
|
|
REDIS_URL: redis://redis:6379
|
2019-12-12 15:04:19 -05:00
|
|
|
depends_on:
|
|
|
|
- redis
|
2019-12-05 14:08:54 -05:00
|
|
|
nginx:
|
|
|
|
image: jwilder/nginx-proxy
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 443:443
|
|
|
|
volumes:
|
|
|
|
- /etc/nginx/certs
|
|
|
|
- /etc/nginx/vhost.d
|
|
|
|
- /usr/share/nginx/html
|
|
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
|
|
letsencrypt:
|
|
|
|
image: jrcs/letsencrypt-nginx-proxy-companion
|
|
|
|
restart: always
|
|
|
|
volumes_from:
|
|
|
|
- nginx
|
|
|
|
volumes:
|
2019-12-12 05:58:58 -05:00
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
redis:
|
|
|
|
image: redis
|
2019-12-12 15:04:19 -05:00
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- redis:/data
|