From d189b8d1d0a7a475bf9dcf08373d8d6673943608 Mon Sep 17 00:00:00 2001 From: squidbear <379651+czarly@users.noreply.github.com> Date: Tue, 25 Mar 2025 10:57:08 +0100 Subject: [PATCH] all the geth configs shoud go here --- ...hereum-holesky-geth-pruned-pebble-path.yml | 79 +++++++++++++++++++ ...hereum-mainnet-geth-pruned-pebble-path.yml | 79 +++++++++++++++++++ ...hereum-sepolia-geth-pruned-pebble-path.yml | 79 +++++++++++++++++++ 3 files changed, 237 insertions(+) create mode 100644 ethereum/geth/ethereum-holesky-geth-pruned-pebble-path.yml create mode 100644 ethereum/geth/ethereum-mainnet-geth-pruned-pebble-path.yml create mode 100644 ethereum/geth/ethereum-sepolia-geth-pruned-pebble-path.yml diff --git a/ethereum/geth/ethereum-holesky-geth-pruned-pebble-path.yml b/ethereum/geth/ethereum-holesky-geth-pruned-pebble-path.yml new file mode 100644 index 00000000..fae46949 --- /dev/null +++ b/ethereum/geth/ethereum-holesky-geth-pruned-pebble-path.yml @@ -0,0 +1,79 @@ +services: + ethereum-holesky: + image: ethereum/client-go:${GETH_VERSION:-v1.15.5} + expose: + - 8545 + - 8551 + ports: + - "10993:10993" + - "10993:10993/udp" + environment: + - "GETH_DATADIR=/data" + - "GETH_HOLESKY=true" + - "GETH_GCMODE=full" + - "GETH_SYNCMODE=snap" + - "GETH_STATE_SCHEME=path" + - "GETH_DB_ENGINE=pebble" + - "GETH_NAT=extip:${IP}" + - "GETH_PORT=19809" + - "GETH_WS_PORT=8545" + - "GETH_HTTP=true" + - "GETH_HTTP_ADDR=0.0.0.0" + - "GETH_HTTP_VHOSTS=*" + - "GETH_WS=true" + - "GETH_WS_ADDR=0.0.0.0" + - "GETH_WS_ORIGINS=*" + - "GETH_HTTP_API=eth,net,debug,admin,web3" + - "GETH_AUTHRPC_JWTSECRET=/jwtsecret" + - "GETH_AUTHRPC_ADDR=0.0.0.0" + - "GETH_AUTHRPC_VHOSTS=*" + networks: + - chains + volumes: + - "ethereum-holesky-geth-pruned-pebble-path:/data" + - ".jwtsecret:/jwtsecret" + restart: unless-stopped + stop_grace_period: 1m + labels: + - "traefik.enable=true" + - "traefik.http.middlewares.ethereum-holesky-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/ethereum-holesky" + - "traefik.http.services.ethereum-holesky-geth-pruned-pebble-path.loadbalancer.server.port=8545" + - "traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.entrypoints=websecure" + - "traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.tls.certresolver=myresolver" + - "traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-holesky`)" + - "traefik.http.routers.ethereum-holesky-geth-pruned-pebble-path.middlewares=ethereum-holesky-geth-pruned-pebble-path-stripprefix, ipwhitelist" + + ethereum-holesky-node: + image: prysmaticlabs/prysm-beacon-chain:${PRYSM_VERSION:-v5.3.1} + ports: + - "15993:15993" + - "15993:15993/udp" + command: + [ + "--holesky", + "--datadir=/data", + "--jwt-secret=/jwtsecret", + "--rpc-host=0.0.0.0", + "--grpc-gateway-host=0.0.0.0", + "--monitoring-host=0.0.0.0", + "--p2p-tcp-port=15993", + "--p2p-udp-port=15993", + "--checkpoint-sync-url=https://holesky.beaconstate.info", + "--execution-endpoint=http://ethereum-holesky:8551", + "--prune-every=50", + "--prune-threshold=0.2", + "--slots-per-archive-point=1024", + "--enable-historical-state-representation=false", + "--disable-batch-builder", + "--minimum-peers=10", + "--prune-block-roots", + "--accept-terms-of-use" + ] + networks: + - chains + volumes: + - ".jwtsecret:/jwtsecret" + restart: unless-stopped + +volumes: + ethereum-holesky-geth-pruned-pebble-path: \ No newline at end of file diff --git a/ethereum/geth/ethereum-mainnet-geth-pruned-pebble-path.yml b/ethereum/geth/ethereum-mainnet-geth-pruned-pebble-path.yml new file mode 100644 index 00000000..76ca7975 --- /dev/null +++ b/ethereum/geth/ethereum-mainnet-geth-pruned-pebble-path.yml @@ -0,0 +1,79 @@ +services: + ethereum-mainnet: + image: ethereum/client-go:${GETH_VERSION:-v1.15.5} + expose: + - 8545 + - 8551 + ports: + - "10023:10023" + - "10023:10023/udp" + environment: + - "GETH_DATADIR=/data" + - "GETH_MAINNET=true" + - "GETH_GCMODE=full" + - "GETH_SYNCMODE=snap" + - "GETH_STATE_SCHEME=path" + - "GETH_DB_ENGINE=pebble" + - "GETH_NAT=extip:${IP}" + - "GETH_PORT=19809" + - "GETH_WS_PORT=8545" + - "GETH_HTTP=true" + - "GETH_HTTP_ADDR=0.0.0.0" + - "GETH_HTTP_VHOSTS=*" + - "GETH_WS=true" + - "GETH_WS_ADDR=0.0.0.0" + - "GETH_WS_ORIGINS=*" + - "GETH_HTTP_API=eth,net,debug,admin,web3" + - "GETH_AUTHRPC_JWTSECRET=/jwtsecret" + - "GETH_AUTHRPC_ADDR=0.0.0.0" + - "GETH_AUTHRPC_VHOSTS=*" + networks: + - chains + volumes: + - "ethereum-mainnet-geth-pruned-pebble-path:/data" + - ".jwtsecret:/jwtsecret" + restart: unless-stopped + stop_grace_period: 1m + labels: + - "traefik.enable=true" + - "traefik.http.middlewares.ethereum-mainnet-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/ethereum-mainnet" + - "traefik.http.services.ethereum-mainnet-geth-pruned-pebble-path.loadbalancer.server.port=8545" + - "traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.entrypoints=websecure" + - "traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.tls.certresolver=myresolver" + - "traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-mainnet`)" + - "traefik.http.routers.ethereum-mainnet-geth-pruned-pebble-path.middlewares=ethereum-mainnet-geth-pruned-pebble-path-stripprefix, ipwhitelist" + + ethereum-mainnet-node: + image: prysmaticlabs/prysm-beacon-chain:${PRYSM_VERSION:-v5.3.1} + ports: + - "15023:15023" + - "15023:15023/udp" + command: + [ + "--mainnet", + "--datadir=/data", + "--jwt-secret=/jwtsecret", + "--rpc-host=0.0.0.0", + "--grpc-gateway-host=0.0.0.0", + "--monitoring-host=0.0.0.0", + "--p2p-tcp-port=15023", + "--p2p-udp-port=15023", + "--checkpoint-sync-url=https://sync-mainnet.beaconcha.in", + "--execution-endpoint=http://ethereum-mainnet:8551", + "--prune-every=50", + "--prune-threshold=0.2", + "--slots-per-archive-point=1024", + "--enable-historical-state-representation=false", + "--disable-batch-builder", + "--minimum-peers=10", + "--prune-block-roots", + "--accept-terms-of-use" + ] + networks: + - chains + volumes: + - ".jwtsecret:/jwtsecret" + restart: unless-stopped + +volumes: + ethereum-mainnet-geth-pruned-pebble-path: \ No newline at end of file diff --git a/ethereum/geth/ethereum-sepolia-geth-pruned-pebble-path.yml b/ethereum/geth/ethereum-sepolia-geth-pruned-pebble-path.yml new file mode 100644 index 00000000..1af0888a --- /dev/null +++ b/ethereum/geth/ethereum-sepolia-geth-pruned-pebble-path.yml @@ -0,0 +1,79 @@ +services: + ethereum-sepolia: + image: ethereum/client-go:${GETH_VERSION:-v1.15.5} + expose: + - 8545 + - 8551 + ports: + - "10710:10710" + - "10710:10710/udp" + environment: + - "GETH_DATADIR=/data" + - "GETH_SEPOLIA=true" + - "GETH_GCMODE=full" + - "GETH_SYNCMODE=snap" + - "GETH_STATE_SCHEME=path" + - "GETH_DB_ENGINE=pebble" + - "GETH_NAT=extip:${IP}" + - "GETH_PORT=19809" + - "GETH_WS_PORT=8545" + - "GETH_HTTP=true" + - "GETH_HTTP_ADDR=0.0.0.0" + - "GETH_HTTP_VHOSTS=*" + - "GETH_WS=true" + - "GETH_WS_ADDR=0.0.0.0" + - "GETH_WS_ORIGINS=*" + - "GETH_HTTP_API=eth,net,debug,admin,web3" + - "GETH_AUTHRPC_JWTSECRET=/jwtsecret" + - "GETH_AUTHRPC_ADDR=0.0.0.0" + - "GETH_AUTHRPC_VHOSTS=*" + networks: + - chains + volumes: + - "ethereum-sepolia-geth-pruned-pebble-path:/data" + - ".jwtsecret:/jwtsecret" + restart: unless-stopped + stop_grace_period: 1m + labels: + - "traefik.enable=true" + - "traefik.http.middlewares.ethereum-sepolia-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/ethereum-sepolia" + - "traefik.http.services.ethereum-sepolia-geth-pruned-pebble-path.loadbalancer.server.port=8545" + - "traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.entrypoints=websecure" + - "traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.tls.certresolver=myresolver" + - "traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && PathPrefix(`/ethereum-sepolia`)" + - "traefik.http.routers.ethereum-sepolia-geth-pruned-pebble-path.middlewares=ethereum-sepolia-geth-pruned-pebble-path-stripprefix, ipwhitelist" + + ethereum-sepolia-node: + image: prysmaticlabs/prysm-beacon-chain:${PRYSM_VERSION:-v5.3.1} + ports: + - "15710:15710" + - "15710:15710/udp" + command: + [ + "--sepolia", + "--datadir=/data", + "--jwt-secret=/jwtsecret", + "--rpc-host=0.0.0.0", + "--grpc-gateway-host=0.0.0.0", + "--monitoring-host=0.0.0.0", + "--p2p-tcp-port=15710", + "--p2p-udp-port=15710", + "--checkpoint-sync-url=https://sepolia.beaconstate.info", + "--execution-endpoint=http://ethereum-sepolia:8551", + "--prune-every=50", + "--prune-threshold=0.2", + "--slots-per-archive-point=1024", + "--enable-historical-state-representation=false", + "--disable-batch-builder", + "--minimum-peers=10", + "--prune-block-roots", + "--accept-terms-of-use" + ] + networks: + - chains + volumes: + - ".jwtsecret:/jwtsecret" + restart: unless-stopped + +volumes: + ethereum-sepolia-geth-pruned-pebble-path: \ No newline at end of file