2022-06-30 12:25:36 +03:00
|
|
|
version: '3.7'
|
2020-11-04 19:01:51 +03:00
|
|
|
|
|
|
|
services:
|
|
|
|
server:
|
2022-06-29 13:02:30 +03:00
|
|
|
image: tornadocash/relayer:v5.0.0
|
2020-11-04 19:01:51 +03:00
|
|
|
restart: always
|
2022-06-30 12:25:36 +03:00
|
|
|
command: 'node app/index.js'
|
2020-11-04 19:01:51 +03:00
|
|
|
env_file: .env
|
2022-06-14 13:06:42 +03:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
2020-11-04 19:01:51 +03:00
|
|
|
ports:
|
|
|
|
- 8000:8000
|
2022-06-30 18:04:04 +03:00
|
|
|
depends_on: [redis]
|
2020-11-04 19:01:51 +03:00
|
|
|
|
2022-06-29 13:02:30 +03:00
|
|
|
txWorker:
|
|
|
|
image: tornadocash/relayer:v5.0.0
|
2022-06-30 12:25:36 +03:00
|
|
|
restart: unless-stopped
|
|
|
|
command: 'node txWorker.js'
|
2020-11-04 19:01:51 +03:00
|
|
|
env_file: .env
|
2022-06-30 18:04:04 +03:00
|
|
|
depends_on: [redis]
|
2020-11-04 19:01:51 +03:00
|
|
|
|
2022-06-29 13:02:30 +03:00
|
|
|
healthWorker:
|
|
|
|
image: tornadocash/relayer:v5.0.0
|
2022-06-30 12:25:36 +03:00
|
|
|
restart: unless-stopped
|
|
|
|
command: 'node healthWorker.js'
|
2022-06-29 13:02:30 +03:00
|
|
|
env_file: .env
|
2022-06-30 18:04:04 +03:00
|
|
|
depends_on: [redis]
|
2020-11-04 19:01:51 +03:00
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis
|
2022-06-30 12:25:36 +03:00
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- 6379:6379
|
2022-06-29 13:02:30 +03:00
|
|
|
environment:
|
|
|
|
- REDIS_APPENDONLY=yes
|
|
|
|
- REDIS_APPENDFSYNC=always
|
2020-11-04 19:01:51 +03:00
|
|
|
volumes:
|
|
|
|
- redis:/data
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
redis:
|