local image compilation

This commit is contained in:
gozzy 2023-03-19 19:43:40 +00:00
parent 5f3da2578a
commit 3dc9314e29

@ -47,8 +47,9 @@ services:
# ---------------------- ETH ----------------------- # # ---------------------- ETH ----------------------- #
eth-server: eth-server:
build: .
image: local/tornadocash/relayer/4.14
profiles: [ 'eth' ] profiles: [ 'eth' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: server command: server
# env_file: .env.eth # env_file: .env.eth
@ -56,63 +57,51 @@ services:
NET_ID: 1 NET_ID: 1
REDIS_URL: redis://redis/0 REDIS_URL: redis://redis/0
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [redis] depends_on: [ redis ]
eth-treeWatcher: eth-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'eth' ] profiles: [ 'eth' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: treeWatcher command: treeWatcher
# env_file: .env.eth # env_file: .env.eth
environment: environment:
NET_ID: 1 NET_ID: 1
REDIS_URL: redis://redis/0 REDIS_URL: redis://redis/0
depends_on: [redis] depends_on: [ redis, eth-server ]
eth-priceWatcher: eth-priceWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'eth' ] profiles: [ 'eth' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: priceWatcher command: priceWatcher
# env_file: .env.eth # env_file: .env.eth
environment: environment:
NET_ID: 1 NET_ID: 1
REDIS_URL: redis://redis/0 REDIS_URL: redis://redis/0
nginx_proxy_read_timeout: 600 depends_on: [ redis, eth-server ]
depends_on: [redis]
eth-treeWatcher:
profiles: [ 'eth' ]
image: tornadocash/relayer:mining
restart: always
command: treeWatcher
# env_file: .env.eth
environment:
NET_ID: 1
REDIS_URL: redis://redis/0
depends_on: [redis]
eth-healthWatcher: eth-healthWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'eth' ] profiles: [ 'eth' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: healthWatcher command: healthWatcher
# env_file: .env.eth # env_file: .env.eth
environment: environment:
NET_ID: 1 NET_ID: 1
REDIS_URL: redis://redis/0 REDIS_URL: redis://redis/0
depends_on: [redis] depends_on: [ redis, eth-server ]
eth-worker1: eth-worker1:
image: local/tornadocash/relayer/4.14
profiles: [ 'eth' ] profiles: [ 'eth' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: worker command: worker
# env_file: .env.eth # env_file: .env.eth
environment: environment:
NET_ID: 1 NET_ID: 1
REDIS_URL: redis://redis/0 REDIS_URL: redis://redis/0
depends_on: [redis] depends_on: [ redis, eth-server ]
# worker2: # worker2:
# image: tornadocash/relayer:mining # image: tornadocash/relayer:mining
@ -176,8 +165,9 @@ services:
# ---------------------- BNB ----------------------- # # ---------------------- BNB ----------------------- #
bnb-server: bnb-server:
build: .
image: local/tornadocash/relayer/4.14
profiles: [ 'bnb' ] profiles: [ 'bnb' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: server command: server
# env_file: .env.bnb # env_file: .env.bnb
@ -185,59 +175,60 @@ services:
NET_ID: 56 NET_ID: 56
REDIS_URL: redis://redis/1 REDIS_URL: redis://redis/1
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [redis] depends_on: [ redis ]
bnb-treeWatcher: bnb-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'bnb' ] profiles: [ 'bnb' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: treeWatcher command: treeWatcher
# env_file: .env.bnb # env_file: .env.bnb
environment: environment:
NET_ID: 56 NET_ID: 56
REDIS_URL: redis://redis/1 REDIS_URL: redis://redis/1
depends_on: [redis] depends_on: [ redis, bnb-server ]
bnb-priceWatcher: bnb-priceWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'bnb' ] profiles: [ 'bnb' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: priceWatcher command: priceWatcher
# env_file: .env.bnb # env_file: .env.bnb
environment: environment:
NET_ID: 56 NET_ID: 56
REDIS_URL: redis://redis/1 REDIS_URL: redis://redis/1
depends_on: [redis] depends_on: [ redis, bnb-server ]
bnb-healthWatcher: bnb-healthWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'bnb' ] profiles: [ 'bnb' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: healthWatcher command: healthWatcher
# env_file: .env.bnb # env_file: .env.bnb
environment: environment:
NET_ID: 56 NET_ID: 56
REDIS_URL: redis://redis/1 REDIS_URL: redis://redis/1
depends_on: [redis] depends_on: [ redis, bnb-server ]
bnb-worker1: bnb-worker1:
image: local/tornadocash/relayer/4.14
profiles: [ 'bnb' ] profiles: [ 'bnb' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: worker command: worker
# env_file: .env.bnb # env_file: .env.bnb
environment: environment:
NET_ID: 56 NET_ID: 56
REDIS_URL: redis://redis/1 REDIS_URL: redis://redis/1
depends_on: [redis] depends_on: [ redis, bnb-server ]
# -------------------------------------------------- # # -------------------------------------------------- #
# ---------------------- MATIC --------------------- # # ---------------------- MATIC --------------------- #
matic-server: matic-server:
build: .
image: local/tornadocash/relayer/4.14
profiles: [ 'matic' ] profiles: [ 'matic' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: server command: server
# env_file: .env.matic # env_file: .env.matic
@ -245,59 +236,60 @@ services:
NET_ID: 137 NET_ID: 137
REDIS_URL: redis://redis/2 REDIS_URL: redis://redis/2
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [redis] depends_on: [ redis ]
matic-treeWatcher: matic-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'matic' ] profiles: [ 'matic' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: treeWatcher command: treeWatcher
# env_file: .env.matic # env_file: .env.matic
environment: environment:
NET_ID: 137 NET_ID: 137
REDIS_URL: redis://redis/2 REDIS_URL: redis://redis/2
depends_on: [redis] depends_on: [ redis, matic-server ]
matic-priceWatcher: matic-priceWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'matic' ] profiles: [ 'matic' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: priceWatcher command: priceWatcher
# env_file: .env.matic # env_file: .env.matic
environment: environment:
NET_ID: 137 NET_ID: 137
REDIS_URL: redis://redis/2 REDIS_URL: redis://redis/2
depends_on: [redis] depends_on: [ redis, matic-server ]
matic-healthWatcher: matic-healthWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'matic' ] profiles: [ 'matic' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: healthWatcher command: healthWatcher
# env_file: .env.matic # env_file: .env.matic
environment: environment:
NET_ID: 137 NET_ID: 137
REDIS_URL: redis://redis/2 REDIS_URL: redis://redis/2
depends_on: [redis] depends_on: [ redis, matic-server ]
matic-worker1: matic-worker1:
image: local/tornadocash/relayer/4.14
profiles: [ 'matic' ] profiles: [ 'matic' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: worker command: worker
# env_file: .env.matic # env_file: .env.matic
environment: environment:
NET_ID: 137 NET_ID: 137
REDIS_URL: redis://redis/2 REDIS_URL: redis://redis/2
depends_on: [redis] depends_on: [ redis, matic-server ]
# -------------------------------------------------- # # -------------------------------------------------- #
# ---------------------- XDAI ---------------------- # # ---------------------- XDAI ---------------------- #
xdai-server: xdai-server:
build: .
image: local/tornadocash/relayer/4.14
profiles: [ 'xdai' ] profiles: [ 'xdai' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: server command: server
# env_file: .env.xdai # env_file: .env.xdai
@ -305,59 +297,60 @@ services:
NET_ID: 100 NET_ID: 100
REDIS_URL: redis://redis/3 REDIS_URL: redis://redis/3
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [redis] depends_on: [ redis ]
xdai-treeWatcher: xdai-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'xdai' ] profiles: [ 'xdai' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: treeWatcher command: treeWatcher
# env_file: .env.xdai # env_file: .env.xdai
environment: environment:
NET_ID: 100 NET_ID: 100
REDIS_URL: redis://redis/3 REDIS_URL: redis://redis/3
depends_on: [redis] depends_on: [ redis, xdai-server ]
xdai-priceWatcher: xdai-priceWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'xdai' ] profiles: [ 'xdai' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: priceWatcher command: priceWatcher
# env_file: .env.xdai # env_file: .env.xdai
environment: environment:
NET_ID: 100 NET_ID: 100
REDIS_URL: redis://redis/3 REDIS_URL: redis://redis/3
depends_on: [redis] depends_on: [ redis, xdai-server ]
xdai-healthWatcher: xdai-healthWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'xdai' ] profiles: [ 'xdai' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: healthWatcher command: healthWatcher
# env_file: .env.xdai # env_file: .env.xdai
environment: environment:
NET_ID: 100 NET_ID: 100
REDIS_URL: redis://redis/3 REDIS_URL: redis://redis/3
depends_on: [redis] depends_on: [ redis, xdai-server ]
xdai-worker1: xdai-worker1:
image: local/tornadocash/relayer/4.14
profiles: [ 'xdai' ] profiles: [ 'xdai' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: worker command: worker
# env_file: .env.xdai # env_file: .env.xdai
environment: environment:
NET_ID: 100 NET_ID: 100
REDIS_URL: redis://redis/3 REDIS_URL: redis://redis/3
depends_on: [redis] depends_on: [ redis, xdai-server ]
# -------------------------------------------------- # # -------------------------------------------------- #
# ---------------------- AVAX ---------------------- # # ---------------------- AVAX ---------------------- #
avax-server: avax-server:
build: .
image: local/tornadocash/relayer/4.14
profiles: [ 'avax' ] profiles: [ 'avax' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: server command: server
# env_file: .env.avax # env_file: .env.avax
@ -365,59 +358,60 @@ services:
NET_ID: 43114 NET_ID: 43114
REDIS_URL: redis://redis/4 REDIS_URL: redis://redis/4
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [redis] depends_on: [ redis ]
avax-treeWatcher: avax-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'avax' ] profiles: [ 'avax' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: treeWatcher command: treeWatcher
# env_file: .env.avax # env_file: .env.avax
environment: environment:
NET_ID: 43114 NET_ID: 43114
REDIS_URL: redis://redis/4 REDIS_URL: redis://redis/4
depends_on: [redis] depends_on: [ redis, avax-server ]
avax-priceWatcher: avax-priceWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'avax' ] profiles: [ 'avax' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: priceWatcher command: priceWatcher
# env_file: .env.avax # env_file: .env.avax
environment: environment:
NET_ID: 43114 NET_ID: 43114
REDIS_URL: redis://redis/4 REDIS_URL: redis://redis/4
depends_on: [redis] depends_on: [ redis, avax-server ]
avax-healthWatcher: avax-healthWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'avax' ] profiles: [ 'avax' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: healthWatcher command: healthWatcher
# env_file: .env.avax # env_file: .env.avax
environment: environment:
NET_ID: 43114 NET_ID: 43114
REDIS_URL: redis://redis/4 REDIS_URL: redis://redis/4
depends_on: [redis] depends_on: [ redis, avax-server ]
avax-worker1: avax-worker1:
image: local/tornadocash/relayer/4.14
profiles: [ 'avax' ] profiles: [ 'avax' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: worker command: worker
# env_file: .env.avax # env_file: .env.avax
environment: environment:
NET_ID: 43114 NET_ID: 43114
REDIS_URL: redis://redis/4 REDIS_URL: redis://redis/4
depends_on: [redis] depends_on: [ redis, avax-server ]
# -------------------------------------------------- # # -------------------------------------------------- #
# ---------------------- OP ------------------------ # # ---------------------- OP ------------------------ #
op-server: op-server:
build: .
image: local/tornadocash/relayer/4.14
profiles: [ 'op' ] profiles: [ 'op' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: server command: server
# env_file: .env.op # env_file: .env.op
@ -425,20 +419,21 @@ services:
NET_ID: 10 NET_ID: 10
REDIS_URL: redis://redis/5 REDIS_URL: redis://redis/5
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [redis] depends_on: [ redis ]
op-treeWatcher: op-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'op' ] profiles: [ 'op' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: treeWatcher command: treeWatcher
# env_file: .env.op # env_file: .env.op
environment: environment:
NET_ID: 10 NET_ID: 10
REDIS_URL: redis://redis/5 REDIS_URL: redis://redis/5
depends_on: [redis] depends_on: [ redis, op-server ]
op-priceWatcher: op-priceWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'op' ] profiles: [ 'op' ]
image: tornadocash/relayer:mining image: tornadocash/relayer:mining
restart: always restart: always
@ -447,9 +442,10 @@ services:
environment: environment:
NET_ID: 10 NET_ID: 10
REDIS_URL: redis://redis/5 REDIS_URL: redis://redis/5
depends_on: [redis] depends_on: [ redis, op-server ]
op-healthWatcher: op-healthWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'op' ] profiles: [ 'op' ]
image: tornadocash/relayer:mining image: tornadocash/relayer:mining
restart: always restart: always
@ -458,9 +454,10 @@ services:
environment: environment:
NET_ID: 10 NET_ID: 10
REDIS_URL: redis://redis/5 REDIS_URL: redis://redis/5
depends_on: [redis] depends_on: [ redis, op-server ]
op-worker1: op-worker1:
image: local/tornadocash/relayer/4.14
profiles: [ 'op' ] profiles: [ 'op' ]
image: tornadocash/relayer:mining image: tornadocash/relayer:mining
restart: always restart: always
@ -469,15 +466,16 @@ services:
environment: environment:
NET_ID: 10 NET_ID: 10
REDIS_URL: redis://redis/5 REDIS_URL: redis://redis/5
depends_on: [redis] depends_on: [ redis, op-server ]
# -------------------------------------------------- # # -------------------------------------------------- #
# ---------------------- ARB ----------------------- # # ---------------------- ARB ----------------------- #
arb-server: arb-server:
build: .
image: local/tornadocash/relayer/4.14
profiles: [ 'arb' ] profiles: [ 'arb' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: server command: server
# env_file: .env.arb # env_file: .env.arb
@ -485,59 +483,60 @@ services:
NET_ID: 42161 NET_ID: 42161
REDIS_URL: redis://redis/6 REDIS_URL: redis://redis/6
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [redis] depends_on: [ redis ]
arb-treeWatcher: arb-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'arb' ] profiles: [ 'arb' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: treeWatcher command: treeWatcher
# env_file: .env.arb # env_file: .env.arb
environment: environment:
NET_ID: 42161 NET_ID: 42161
REDIS_URL: redis://redis/6 REDIS_URL: redis://redis/6
depends_on: [redis] depends_on: [ redis, arb-server ]
arb-priceWatcher: arb-priceWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'arb' ] profiles: [ 'arb' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: priceWatcher command: priceWatcher
# env_file: .env.arb # env_file: .env.arb
environment: environment:
NET_ID: 42161 NET_ID: 42161
REDIS_URL: redis://redis/6 REDIS_URL: redis://redis/6
depends_on: [redis] depends_on: [ redis, arb-server ]
arb-healthWatcher: arb-healthWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'arb' ] profiles: [ 'arb' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: healthWatcher command: healthWatcher
# env_file: .env.arb # env_file: .env.arb
environment: environment:
NET_ID: 42161 NET_ID: 42161
REDIS_URL: redis://redis/6 REDIS_URL: redis://redis/6
depends_on: [redis] depends_on: [ redis, arb-server ]
arb-worker1: arb-worker1:
image: local/tornadocash/relayer/4.14
profiles: [ 'arb' ] profiles: [ 'arb' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: worker command: worker
# env_file: .env.arb # env_file: .env.arb
environment: environment:
NET_ID: 42161 NET_ID: 42161
REDIS_URL: redis://redis/6 REDIS_URL: redis://redis/6
depends_on: [redis] depends_on: [ redis, arb-server ]
# -------------------------------------------------- # # -------------------------------------------------- #
# ---------------------- GETH ---------------------- # # ---------------------- GETH ---------------------- #
geth-server: geth-server:
build: .
image: local/tornadocash/relayer/4.14
profiles: [ 'geth' ] profiles: [ 'geth' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: server command: server
# env_file: .env.geth # env_file: .env.geth
@ -545,51 +544,51 @@ services:
NET_ID: 5 NET_ID: 5
REDIS_URL: redis://redis/7 REDIS_URL: redis://redis/7
nginx_proxy_read_timeout: 600 nginx_proxy_read_timeout: 600
depends_on: [redis] depends_on: [ redis ]
geth-treeWatcher: geth-treeWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'geth' ] profiles: [ 'geth' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: treeWatcher command: treeWatcher
# env_file: .env.geth # env_file: .env.geth
environment: environment:
NET_ID: 5 NET_ID: 5
REDIS_URL: redis://redis/7 REDIS_URL: redis://redis/7
depends_on: [redis] depends_on: [ redis, geth-server ]
geth-priceWatcher: geth-priceWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'geth' ] profiles: [ 'geth' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: priceWatcher command: priceWatcher
# env_file: .env.geth # env_file: .env.geth
environment: environment:
NET_ID: 5 NET_ID: 5
REDIS_URL: redis://redis/7 REDIS_URL: redis://redis/7
depends_on: [redis] depends_on: [ redis, geth-server ]
geth-healthWatcher: geth-healthWatcher:
image: local/tornadocash/relayer/4.14
profiles: [ 'geth' ] profiles: [ 'geth' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: healthWatcher command: healthWatcher
# env_file: .env.geth # env_file: .env.geth
environment: environment:
NET_ID: 5 NET_ID: 5
REDIS_URL: redis://redis/7 REDIS_URL: redis://redis/7
depends_on: [redis] depends_on: [ redis, geth-server ]
geth-worker1: geth-worker1:
image: local/tornadocash/relayer/4.14
profiles: [ 'geth' ] profiles: [ 'geth' ]
image: tornadocash/relayer:mining
restart: always restart: always
command: worker command: worker
# env_file: .env.geth # env_file: .env.geth
environment: environment:
NET_ID: 5 NET_ID: 5
REDIS_URL: redis://redis/7 REDIS_URL: redis://redis/7
depends_on: [redis] depends_on: [ redis, geth-server ]
# -------------------------------------------------- # # -------------------------------------------------- #