2022-06-29 12:02:30 +02:00
|
|
|
version: '3'
|
2020-11-04 17:01:51 +01:00
|
|
|
|
|
|
|
services:
|
|
|
|
server:
|
2022-06-29 12:02:30 +02:00
|
|
|
image: tornadocash/relayer:v5.0.0
|
2020-11-04 17:01:51 +01:00
|
|
|
restart: always
|
2022-06-29 12:02:30 +02:00
|
|
|
command: 'server'
|
2020-11-04 17:01:51 +01:00
|
|
|
env_file: .env
|
2022-06-14 12:06:42 +02:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
2020-11-04 17:01:51 +01:00
|
|
|
ports:
|
|
|
|
- 8000:8000
|
2022-06-29 12:02:30 +02:00
|
|
|
depends_on: [redis]
|
2020-11-04 17:01:51 +01:00
|
|
|
|
2022-06-29 12:02:30 +02:00
|
|
|
txWorker:
|
|
|
|
image: tornadocash/relayer:v5.0.0
|
2020-11-04 17:01:51 +01:00
|
|
|
restart: always
|
2022-06-29 12:02:30 +02:00
|
|
|
command: 'txWorker'
|
2020-11-04 17:01:51 +01:00
|
|
|
env_file: .env
|
2022-06-29 12:02:30 +02:00
|
|
|
depends_on: [redis]
|
2020-11-04 17:01:51 +01:00
|
|
|
|
2022-06-29 12:02:30 +02:00
|
|
|
healthWorker:
|
|
|
|
image: tornadocash/relayer:v5.0.0
|
|
|
|
restart: always
|
|
|
|
command: 'healthWorker'
|
|
|
|
env_file: .env
|
|
|
|
depends_on: [redis]
|
2020-11-04 17:01:51 +01:00
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis
|
|
|
|
restart: always
|
2022-06-29 12:02:30 +02:00
|
|
|
environment:
|
|
|
|
- REDIS_APPENDONLY=yes
|
|
|
|
- REDIS_APPENDFSYNC=always
|
2020-11-04 17:01:51 +01:00
|
|
|
volumes:
|
|
|
|
- redis:/data
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
redis:
|