web3-proxy/docker-compose.common.yml

17 lines
465 B
YAML
Raw Normal View History

2022-05-06 04:57:37 +03:00
services:
web3-proxy:
# TODO: build in dev but use docker hub in prod?
2022-05-06 04:57:37 +03:00
build: .
init: true
2022-05-06 04:57:37 +03:00
restart: unless-stopped
2022-09-09 01:24:27 +03:00
command: --config /config.toml --workers 16
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"
RUST_LOG: info
2022-08-16 08:00:29 +03:00
volatile_redis:
image: redis:6.0-alpine
command: [ "redis-server", "--save", "60", "1" ]