web3-proxy/docker-compose.common.yml

19 lines
589 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
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:
2023-06-21 00:47:01 +03:00
RUST_LOG: "info,ethers_providers::rpc=off,web3_proxy=info"
2023-07-10 07:57:34 +03:00
volumes:
- /etc/ssl/certs/:/etc/ssl/certs/:ro
- /usr/local/share/ca-certificates/:/usr/local/share/ca-certificates/:ro
2022-08-16 08:00:29 +03:00
volatile_redis:
2023-09-13 03:23:59 +03:00
image: redis:6.2-alpine
2023-06-12 22:14:39 +03:00
command: [ "redis-server" ]