Last active
November 1, 2025 14:28
-
-
Save magicstone1412/8bb38c7ec20f800bd25f23d1147fb339 to your computer and use it in GitHub Desktop.
Run your own RPC and Beacon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| reth: | |
| image: ghcr.io/paradigmxyz/reth:v1.3.12 | |
| container_name: reth | |
| restart: unless-stopped | |
| command: | |
| - node | |
| - --chain | |
| - sepolia | |
| - --http | |
| - --http.addr | |
| - 0.0.0.0 | |
| - --http.port | |
| - "8545" | |
| - --ws | |
| - --ws.addr | |
| - 0.0.0.0 | |
| - --ws.port | |
| - "8546" | |
| - --authrpc.addr | |
| - 0.0.0.0 | |
| - --authrpc.port | |
| - "8551" | |
| - --authrpc.jwtsecret | |
| - /jwt/jwt.hex | |
| - --datadir | |
| - /data | |
| - --metrics | |
| - 0.0.0.0:9001 | |
| - --full | |
| ports: | |
| - "8545:8545" # HTTP RPC | |
| - "8546:8546" # WebSocket RPC | |
| - "8551:8551" # Auth RPC | |
| - "30303:30303/tcp" # P2P TCP | |
| - "30303:30303/udp" # P2P UDP | |
| volumes: | |
| - ./execution:/data | |
| - ./jwt:/jwt | |
| # - ./reth.toml:/data/reth.toml:ro # Enable if you wanna change Pruning Configuration | |
| networks: | |
| - eth-net | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:8545"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| lighthouse-beacon: | |
| image: sigp/lighthouse:v8.0.0-rc.2 | |
| container_name: lighthouse-beacon | |
| restart: unless-stopped | |
| depends_on: | |
| - reth | |
| command: | |
| - lighthouse | |
| - beacon | |
| - --network | |
| - sepolia | |
| - --checkpoint-sync-url | |
| - https://sepolia.beaconstate.info | |
| - --execution-endpoint | |
| - http://reth:8551 | |
| - --execution-jwt | |
| - /jwt/jwt.hex | |
| - --http | |
| - --http-address | |
| - 0.0.0.0 | |
| - --http-port | |
| - "5052" | |
| - --metrics | |
| - --metrics-address | |
| - 0.0.0.0 | |
| - --metrics-port | |
| - "8008" | |
| - --datadir | |
| - /data | |
| - --supernode | |
| ports: | |
| - "5052:5052" # HTTP API | |
| - "9000:9000/tcp" # P2P TCP | |
| - "9000:9000/udp" # P2P UDP | |
| volumes: | |
| - ./beacon/data:/data # This location can be changed to seperate beacon data | |
| - ./jwt:/jwt | |
| networks: | |
| - eth-net | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:5052/lighthouse/health"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| networks: | |
| eth-net: | |
| driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment