Add a stack to run an Ethereum node #1

Merged
nabarun merged 6 commits from pm-add-eth-stack into main 2024-09-11 04:18:18 +00:00
2 changed files with 12 additions and 4 deletions
Showing only changes of commit bd8c533fd7 - Show all commits

View File

@ -26,6 +26,8 @@ services:
- "8545" - "8545"
- "8546" - "8546"
- "6060" - "6060"
- "30303/tcp"
- "30303/udp"
eth-lighthouse: eth-lighthouse:
restart: on-failure restart: on-failure
@ -46,6 +48,8 @@ services:
- ../config/eth/run-cl.sh:/root/scripts/run-cl.sh - ../config/eth/run-cl.sh:/root/scripts/run-cl.sh
ports: ports:
- "8001" - "8001"
- "9000/tcp"
- "9000/udp"
volumes: volumes:
eth_geth_data: eth_geth_data:

View File

@ -23,11 +23,15 @@
network: network:
ports: ports:
eth-geth: eth-geth:
- '8545:8545' - '8545:8545'
- '8546:8546' - '8546:8546'
- '6060:6060' - '6060:6060'
- '30303:30303/tcp'
- '30303:30303/udp'
eth-lighthouse: eth-lighthouse:
- '8001:8001' - '8001:8001'
- '9000:9000/tcp'
- '9000:9000/udp'
``` ```
* Create a deployment from the spec file: * Create a deployment from the spec file: