This commit is contained in:
Sebastian
2024-02-05 11:03:12 +01:00
parent 72180aff88
commit 22dcd5d826
5 changed files with 29 additions and 8 deletions

View File

@@ -40,7 +40,7 @@ services:
- "prometheus-scrape.enabled=true" - "prometheus-scrape.enabled=true"
- "prometheus-scrape.port=9650" - "prometheus-scrape.port=9650"
- "prometheus-scrape.job_name=avalanche-fullnode-archive" - "prometheus-scrape.job_name=avalanche-fullnode"
- "prometheus-scrape.metrics_path=/ext/metrics" - "prometheus-scrape.metrics_path=/ext/metrics"
volumes: volumes:

View File

@@ -13,7 +13,7 @@ services:
- "25703:25703" - "25703:25703"
- "25703:25703/udp" - "25703:25703/udp"
restart: unless-stopped 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 stop_grace_period: 1m
labels: labels:

22
gnosis-proxy.yml Normal file
View File

@@ -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"

View File

@@ -3,7 +3,7 @@ version: '3.1'
services: services:
optimism-op-erigon-fullnode: 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 restart: unless-stopped
stop_grace_period: 5m stop_grace_period: 5m
expose: expose:

View File

@@ -6,17 +6,16 @@ services:
restart: unless-stopped restart: unless-stopped
expose: expose:
- 6700 - 6700
- 7300
command: /config/tz3iTQcdoV6V.json command: /config/tz3iTQcdoV6V.json
volumes: volumes:
- "./main_configs:/config" - "./main_configs:/config"
networks: networks:
- chains - chains
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.services.tz3iTQcdoV6V.loadbalancer.server.port=6700" - "traefik.http.services.tz3iTQcdoV6V.loadbalancer.server.port=6700"
- "traefik.http.routers.tz3iTQcdoV6V.entrypoints=websecure" - "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.options=/main_configs/tz3iTQcdoV6V.crt,/main_configs/tz3iTQcdoV6V.key"
- "traefik.http.routers.tz3iTQcdoV6V.tls.certificates=file:/main_configs/tz3iTQcdoV6V.crt,/main_configs/tz3iTQcdoV6V.key" - "traefik.http.routers.tz3iTQcdoV6V.rule=Host(`index.8ch2.com`) && PathPrefix(`/`)"
- "traefik.http.routers.your_service.tls.options=/main_configs/tz3iTQcdoV6V.ca.crt"
- "traefik.http.routers.tz3iTQcdoV6V.rule=Host(`$DOMAIN2`)"