move data files
This commit is contained in:
parent
6fc80e9358
commit
8ee1ce84b3
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
/web3-proxy/data/config/*.toml
|
||||
/config/*.toml
|
||||
flamegraph.svg
|
||||
perf.data
|
||||
perf.data.old
|
||||
|
26
config/example.toml
Normal file
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
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
|
Loading…
Reference in New Issue
Block a user