experiment

This commit is contained in:
Sebastian
2025-01-02 16:23:35 +01:00
parent 0c82ef1f83
commit f7451b6d2c
2 changed files with 86 additions and 1 deletions

View File

@@ -326,7 +326,7 @@
"erigon-gnosis-fullnode", "erigon-gnosis-fullnode",
"nethermind-gnosis" "nethermind-gnosis"
], ],
"archive": ["erigon-gnosis"] "archive": ["erigon-gnosis", "reth-gnosis"]
}, },
"gnosis-chiado": { "gnosis-chiado": {
"id": 10200, "id": 10200,

85
reth-gnosis.yml Normal file
View File

@@ -0,0 +1,85 @@
version: '3.1'
services:
gnosis-reth:
image: stakesquid/reth-gnosis:latest
user: root
volumes:
- "reth-gnosis:/root/.local/share/reth/gnosis"
- "/slowdisk:/slowdisk"
- ".jwtsecret:/jwtsecret"
expose:
- 23865
- 8545
- 9001
ports:
- "23865:23865"
- "23865:23865/udp"
restart: unless-stopped
command: node --chain gnosis --rpc-max-connections 429496729 --metrics 0.0.0.0:9001 --http --http.addr 0.0.0.0 --http.port 8545 --ws --ws.addr 0.0.0.0 --ws.port 8545 --ws.origins '*' --port 23865 --discovery.port 23865 --authrpc.addr 0.0.0.0 --authrpc.jwtsecret /jwtsecret --http.api "debug,eth,net,trace,txpool,web3,rpc,reth,admin" --ws.api "debug,eth,net,trace,txpool,web3,rpc,reth,admin" --http.corsdomain '*' --rpc.max-logs-per-response 1100000 --rpc.gascap 600000000
stop_grace_period: 1m
labels:
- "prometheus-scrape.enabled=true"
- "prometheus-scrape.port=9001"
- "prometheus-scrape.job_name=gnosis-reth"
- "prometheus-scrape.metrics_path=/debug/metrics/prometheus"
- "traefik.enable=true"
- "traefik.http.middlewares.gnosis-reth-stripprefix.stripprefix.prefixes=/gnosis-reth"
- "traefik.http.services.gnosis-reth.loadbalancer.server.port=8545"
- "traefik.http.routers.gnosis-reth.entrypoints=websecure"
- "traefik.http.routers.gnosis-reth.tls.certresolver=myresolver"
- "traefik.http.routers.gnosis-reth.rule=Host(`$DOMAIN`) && PathPrefix(`/gnosis-reth`)"
- "traefik.http.routers.gnosis-reth.middlewares=gnosis-reth-stripprefix, ipwhitelist"
networks:
- chains
nimbus-gnosis:
build:
context: ./gnosis/nimbus
restart: unless-stopped
stop_grace_period: 1m
user: root
volumes:
- nimbus-gnosis:/data
- .jwtsecret:/jwt:ro
environment:
CHECKPOINT_SYNC_URL: "https://checkpoint.gnosischain.com/"
command: |
--data-dir=/data
--web3-url=http://gnosis-reth:8551
--jwt-secret=/jwt
--light-client-data-serve=true
--light-client-data-import-mode=full
--tcp-port=48059
--udp-port=48059
--rest
--rest-address=0.0.0.0
--network=gnosis
--history=prune
networks:
- chains
ports:
- 48059:48059/tcp # p2p
- 48059:48059/udp # p2p
expose:
- 8008 # metrics
- 4500 # http
- 48059 # p2p
labels:
- "prometheus-scrape.enabled=true"
- "prometheus-scrape.port=8008"
- "prometheus-scrape.job_name=nimbus-gnosis"
- "prometheus-scrape.metrics_path=/metrics"
- "traefik.enable=true"
- "traefik.http.middlewares.nimbus-gnosis-stripprefix.stripprefix.prefixes=/nimbus-gnosis"
- "traefik.http.services.nimbus-gnosis.loadbalancer.server.port=4500"
- "traefik.http.routers.nimbus-gnosis.entrypoints=websecure"
- "traefik.http.routers.nimbus-gnosis.tls.certresolver=myresolver"
- "traefik.http.routers.nimbus-gnosis.rule=Host(`$DOMAIN`) && PathPrefix(`/nimbus-gnosis`)"
- "traefik.http.routers.nimbus-gnosis.middlewares=nimbus-gnosis-stripprefix, ipwhitelist"
volumes:
reth-gnosis:
prysm-reth-gnosis: