2019-12-05 20:08:54 +01:00
|
|
|
version: '2'
|
2019-12-12 21:04:19 +01:00
|
|
|
|
2019-12-05 20:08:54 +01:00
|
|
|
services:
|
2020-10-14 21:10:34 +02:00
|
|
|
server:
|
2019-12-05 20:08:54 +01:00
|
|
|
image: tornadocash/relayer
|
|
|
|
restart: always
|
2020-10-03 09:02:38 +02:00
|
|
|
command: server
|
2020-10-14 21:10:34 +02:00
|
|
|
env_file: .env
|
|
|
|
expose: [ 8000 ]
|
|
|
|
ports: [ 8000 ]
|
2019-12-05 20:08:54 +01:00
|
|
|
environment:
|
2019-12-13 14:14:50 +01:00
|
|
|
REDIS_URL: redis://redis/0
|
|
|
|
nginx_proxy_read_timeout: 600
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
|
2020-10-14 21:10:34 +02:00
|
|
|
treeWatcher:
|
2019-12-13 14:14:50 +01:00
|
|
|
image: tornadocash/relayer
|
|
|
|
restart: always
|
2020-10-14 21:10:34 +02:00
|
|
|
command: treeWatcher
|
|
|
|
env_file: .env
|
2019-12-13 14:14:50 +01:00
|
|
|
environment:
|
2020-10-14 21:10:34 +02:00
|
|
|
REDIS_URL: redis://redis/0
|
2020-10-03 09:02:38 +02:00
|
|
|
|
2020-10-14 21:10:34 +02:00
|
|
|
priceWatcher:
|
2020-10-03 09:02:38 +02:00
|
|
|
image: tornadocash/relayer
|
|
|
|
restart: always
|
2020-10-14 21:10:34 +02:00
|
|
|
command: priceWatcher
|
|
|
|
env_file: .env
|
2020-10-03 09:02:38 +02:00
|
|
|
environment:
|
2020-10-14 21:10:34 +02:00
|
|
|
REDIS_URL: redis://redis/0
|
2020-10-03 09:02:38 +02:00
|
|
|
|
2020-10-14 21:10:34 +02:00
|
|
|
worker1:
|
2020-10-03 09:02:38 +02:00
|
|
|
image: tornadocash/relayer
|
|
|
|
restart: always
|
|
|
|
command: worker
|
2020-10-14 21:10:34 +02:00
|
|
|
env_file: .env
|
2020-10-03 09:02:38 +02:00
|
|
|
environment:
|
2020-10-14 21:10:34 +02:00
|
|
|
REDIS_URL: redis://redis/0
|
|
|
|
|
|
|
|
# worker2:
|
|
|
|
# image: tornadocash/relayer
|
|
|
|
# restart: always
|
|
|
|
# command: worker
|
|
|
|
# env_file: .env
|
|
|
|
# environment:
|
|
|
|
# PRIVATE_KEY: qwe
|
|
|
|
# REDIS_URL: redis://redis/0
|
2019-12-13 13:32:09 +01:00
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis
|
|
|
|
restart: always
|
|
|
|
command: [redis-server, --appendonly, 'yes']
|
|
|
|
volumes:
|
|
|
|
- redis:/data
|
|
|
|
|
|
|
|
volumes:
|
2020-01-03 18:58:54 +01:00
|
|
|
redis:
|
2020-10-14 21:10:34 +02:00
|
|
|
|