move data files

This commit is contained in:
Bryan Stitt 2022-05-06 01:40:43 +00:00
parent 6fc80e9358
commit 8ee1ce84b3
5 changed files with 45 additions and 1 deletions

2
.gitignore vendored

@ -1,4 +1,4 @@
/web3-proxy/data/config/*.toml /config/*.toml
flamegraph.svg flamegraph.svg
perf.data perf.data
perf.data.old perf.data.old

26
config/example.toml Normal file

@ -0,0 +1,26 @@
[balanced_rpc_tiers]
[balanced_rpc_tiers.0]
[balanced_rpc_tiers.0.geth]
url = "ws://127.0.0.1:8546"
soft_limit = 200_000
[private_rpcs]
[private_rpcs.eden]
url = "https://api.edennetwork.io/v1/"
soft_limit = 1_805
[private_rpcs.eden_beta]
url = "https://api.edennetwork.io/v1/beta"
soft_limit = 5_861
[private_rpcs.ethermine]
url = "https://rpc.ethermine.org"
soft_limit = 5_861
[private_rpcs.flashbots]
url = "https://rpc.flashbots.net"
soft_limit = 7074

18
docker-compose.yml Normal file

@ -0,0 +1,18 @@
---
version: "3.4"
# docker run --rm -it -v $PWD/web3-proxy/data/config/production-arbitrum.toml:/config.toml satoshiandkin/web3-proxy --rpc-config-path /config.toml
base-service:
&base
data-transport-layer:
build: .
restart: unless-stopped
command: --rpc-config-path /config.toml
services:
arbitrum:
<<: *base
volumes:
- ./web3-proxy/data/config/production-arbitrum.toml:/config.toml