2022-06-30 19:25:36 +10:00
|
|
|
version: '3.7'
|
2020-11-04 19:01:51 +03:00
|
|
|
|
|
|
|
services:
|
|
|
|
server:
|
2022-08-02 14:42:51 +10:00
|
|
|
image: tornadocash/relayer
|
2020-11-04 19:01:51 +03:00
|
|
|
restart: always
|
2022-07-28 17:29:03 +10:00
|
|
|
command: 'server'
|
2020-11-04 19:01:51 +03:00
|
|
|
env_file: .env
|
2022-06-14 20:06:42 +10:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
2020-11-04 19:01:51 +03:00
|
|
|
ports:
|
2022-07-28 17:29:03 +10:00
|
|
|
- '8000:8000'
|
2022-07-01 01:04:04 +10:00
|
|
|
depends_on: [redis]
|
2020-11-04 19:01:51 +03:00
|
|
|
|
2022-06-29 20:02:30 +10:00
|
|
|
txWorker:
|
2022-08-02 14:42:51 +10:00
|
|
|
image: tornadocash/relayer
|
2022-06-30 19:25:36 +10:00
|
|
|
restart: unless-stopped
|
2022-07-28 17:29:03 +10:00
|
|
|
command: 'txWorker'
|
2020-11-04 19:01:51 +03:00
|
|
|
env_file: .env
|
2022-07-01 01:04:04 +10:00
|
|
|
depends_on: [redis]
|
2020-11-04 19:01:51 +03:00
|
|
|
|
2022-06-29 20:02:30 +10:00
|
|
|
healthWorker:
|
2022-08-02 14:42:51 +10:00
|
|
|
image: tornadocash/relayer
|
2022-06-30 19:25:36 +10:00
|
|
|
restart: unless-stopped
|
2022-07-28 17:29:03 +10:00
|
|
|
command: 'healthWorker'
|
2022-06-29 20:02:30 +10:00
|
|
|
env_file: .env
|
2022-07-01 01:04:04 +10:00
|
|
|
depends_on: [redis]
|
2020-11-04 19:01:51 +03:00
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis
|
2022-06-30 19:25:36 +10:00
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- 6379:6379
|
2022-06-29 20:02:30 +10:00
|
|
|
environment:
|
|
|
|
- REDIS_APPENDONLY=yes
|
|
|
|
- REDIS_APPENDFSYNC=always
|
2020-11-04 19:01:51 +03:00
|
|
|
volumes:
|
|
|
|
- redis:/data
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
redis:
|