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:
|
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
|
|
|
|
2022-10-07 05:15:53 +03:00
|
|
|
volatile_redis:
|
|
|
|
image: redis:6.0-alpine
|
2023-06-12 22:14:39 +03:00
|
|
|
command: [ "redis-server" ]
|