2022-05-06 04:57:37 +03:00
|
|
|
services:
|
2022-09-28 19:34:17 +03:00
|
|
|
web3-proxy:
|
2022-05-21 23:40:22 +03:00
|
|
|
# TODO: build in dev but use docker hub in prod?
|
2022-05-06 04:57:37 +03:00
|
|
|
build: .
|
2022-09-28 19:34:17 +03:00
|
|
|
init: true
|
2022-05-06 04:57:37 +03:00
|
|
|
restart: unless-stopped
|
2023-01-19 14:13:24 +03:00
|
|
|
command: --config /config.toml --workers 16 proxyd
|
2022-09-28 19:53:12 +03:00
|
|
|
# rust's tokio crate expects a SIGINT https://tokio.rs/tokio/topics/shutdown
|
|
|
|
stop_signal: SIGINT
|
2022-05-17 07:04:27 +03:00
|
|
|
environment:
|
2022-06-04 01:32:48 +03:00
|
|
|
#RUST_LOG: "info,web3_proxy=debug"
|
2023-04-19 06:50:35 +03:00
|
|
|
RUST_LOG: info,ethers_providers::rpc=off
|
2022-08-16 08:00:29 +03:00
|
|
|
|
2022-10-07 05:15:53 +03:00
|
|
|
volatile_redis:
|
|
|
|
image: redis:6.0-alpine
|
|
|
|
command: [ "redis-server", "--save", "60", "1" ]
|