From 22dcd5d8266f8ecdad90734bbf15f0d77aa0d47b Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Mon, 5 Feb 2024 11:03:12 +0100 Subject: [PATCH] init --- avalanche-fullnode.yml | 2 +- bsc-erigon.yml | 2 +- gnosis-proxy.yml | 22 ++++++++++++++++++++++ optimism-erigon-fullnode.yml | 2 +- tz3iTQcdoV6V.yml | 9 ++++----- 5 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 gnosis-proxy.yml diff --git a/avalanche-fullnode.yml b/avalanche-fullnode.yml index 341c829a..9f4eb621 100644 --- a/avalanche-fullnode.yml +++ b/avalanche-fullnode.yml @@ -40,7 +40,7 @@ services: - "prometheus-scrape.enabled=true" - "prometheus-scrape.port=9650" - - "prometheus-scrape.job_name=avalanche-fullnode-archive" + - "prometheus-scrape.job_name=avalanche-fullnode" - "prometheus-scrape.metrics_path=/ext/metrics" volumes: diff --git a/bsc-erigon.yml b/bsc-erigon.yml index d1d22d1a..d04984cb 100644 --- a/bsc-erigon.yml +++ b/bsc-erigon.yml @@ -13,7 +13,7 @@ services: - "25703:25703" - "25703:25703/udp" restart: unless-stopped - command: --db.pagesize=16k --chain=bsc --prune=hrtc --sentry.drop-useless-peers --http --http.addr=0.0.0.0 --http.port=8545 --http.compression --http.vhosts='*' --http.corsdomain='*' --http.api=eth,debug,net,web3,erigon --ws --ws.compression --rpc.gascap=300000000 --metrics --metrics.addr=0.0.0.0 --metrics.port=6060 --bodies.cache=5G --rpc.batch.limit=200000 --batchSize=2048MB --port=54993 --p2p.protocol=66 --datadir=/datadir --ethash.dagdir=/datadir/ethash --rpc.returndata.limit=1100000 --torrent.port=25703 --torrent.download.rate=80mb + command: --db.pagesize=16k --chain=bsc --prune=hrtc --sentry.drop-useless-peers --http --http.addr=0.0.0.0 --http.port=8545 --http.compression --http.vhosts='*' --http.corsdomain='*' --http.api=eth,debug,net,web3,erigon --ws --ws.compression --rpc.gascap=300000000 --metrics --metrics.addr=0.0.0.0 --metrics.port=6060 --bodies.cache=5G --rpc.batch.limit=200000 --batchSize=2048MB --port=54993 --p2p.protocol=66 --datadir=/datadir --ethash.dagdir=/datadir/ethash --rpc.returndata.limit=1100000 --torrent.port=25703 --torrent.download.rate 1000mb --torrent.upload.rate 10mb stop_grace_period: 1m labels: diff --git a/gnosis-proxy.yml b/gnosis-proxy.yml new file mode 100644 index 00000000..52d57361 --- /dev/null +++ b/gnosis-proxy.yml @@ -0,0 +1,22 @@ +version: "3.1" +services: + gnosis-proxy: + image: stakesquid/eth-cluster + environment: + - FULLNODE_WS_URL=${GNOSIS_FULLNODE_WS} + - FULLNODE_RPC_URL=${GNOSIS_FULLNODE_RPC} + - ARCHIVE_RPC_URL=${GNOSIS_ARCHIVE_RPC} + - ALL_TRACE_TO_ARCHIVE=${ALL_TRACE_TO_ARCHIVE:-true} + expose: + - "8545" + networks: + - chains + restart: unless-stopped + labels: + - "traefik.enable=true" + - "traefik.http.middlewares.gnosis-stripprefix.stripprefix.prefixes=$GNOSIS_PREFIX" + - "traefik.http.services.gnosis.loadbalancer.server.port=8545" + - "traefik.http.routers.gnosis.entrypoints=websecure" + - "traefik.http.routers.gnosis.tls.certresolver=myresolver" + - "traefik.http.routers.gnosis.rule=Host(`$GNOSIS_DOMAIN`) && PathPrefix(`$GNOSIS_PREFIX`)" + - "traefik.http.routers.gnosis.middlewares=gnosis-stripprefix, ipwhitelist" diff --git a/optimism-erigon-fullnode.yml b/optimism-erigon-fullnode.yml index ee47935b..1deafed7 100644 --- a/optimism-erigon-fullnode.yml +++ b/optimism-erigon-fullnode.yml @@ -3,7 +3,7 @@ version: '3.1' services: optimism-op-erigon-fullnode: - image: testinprod/op-erigon:2.52.5-0.3.1-amd64 + image: testinprod/op-erigon:2.53.4-0.3.1-amd64 restart: unless-stopped stop_grace_period: 5m expose: diff --git a/tz3iTQcdoV6V.yml b/tz3iTQcdoV6V.yml index b572cb7e..83e07651 100644 --- a/tz3iTQcdoV6V.yml +++ b/tz3iTQcdoV6V.yml @@ -6,17 +6,16 @@ services: restart: unless-stopped expose: - 6700 + - 7300 command: /config/tz3iTQcdoV6V.json volumes: - - "./main_configs:/config" + - "./main_configs:/config" networks: - chains labels: - "traefik.enable=true" - "traefik.http.services.tz3iTQcdoV6V.loadbalancer.server.port=6700" - "traefik.http.routers.tz3iTQcdoV6V.entrypoints=websecure" - - "traefik.http.routers.tz3iTQcdoV6V.tls.certresolver=default" # Use the default certresolver (Traefik will not try to obtain Let's Encrypt certificate) - - "traefik.http.routers.tz3iTQcdoV6V.tls.certificates=file:/main_configs/tz3iTQcdoV6V.crt,/main_configs/tz3iTQcdoV6V.key" - - "traefik.http.routers.your_service.tls.options=/main_configs/tz3iTQcdoV6V.ca.crt" - - "traefik.http.routers.tz3iTQcdoV6V.rule=Host(`$DOMAIN2`)" + - "traefik.http.routers.tz3iTQcdoV6V.tls.options=/main_configs/tz3iTQcdoV6V.crt,/main_configs/tz3iTQcdoV6V.key" + - "traefik.http.routers.tz3iTQcdoV6V.rule=Host(`index.8ch2.com`) && PathPrefix(`/`)"