web3-proxy/docker-compose.common.yml
2022-09-28 16:53:12 +00:00

17 lines
469 B
YAML

services:
web3-proxy:
# TODO: build in dev but use docker hub in prod?
build: .
init: true
restart: unless-stopped
command: --config /config.toml --workers 16
# rust's tokio crate expects a SIGINT https://tokio.rs/tokio/topics/shutdown
stop_signal: SIGINT
environment:
#RUST_LOG: "info,web3_proxy=debug"
RUST_LOG: info
volatile_redis:
image: redis
command: [ "redis-server", "--save", "", "--appendonly", "no" ]