tornado-relayer/docker-compose.yml

44 lines
925 B
YAML
Raw Normal View History

2019-12-05 20:08:54 +01:00
version: '2'
2019-12-12 21:04:19 +01:00
volumes:
redis:
2019-12-05 20:08:54 +01: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 19:47:56 +01:00
# without 0x prefix
2019-12-12 11:58:58 +01:00
PRIVATE_KEY:
2019-12-05 20:08:54 +01:00
# 2.5 means 2.5%
RELAYER_FEE: 2.5
2019-12-12 11:58:58 +01:00
REDIS_URL: redis://redis:6379
2019-12-12 21:04:19 +01:00
depends_on:
- redis
2019-12-05 20:08:54 +01: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 11:58:58 +01:00
- /var/run/docker.sock:/var/run/docker.sock:ro
redis:
image: redis
2019-12-12 21:04:19 +01:00
restart: always
volumes:
- redis:/data