mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
24 lines
No EOL
488 B
YAML
24 lines
No EOL
488 B
YAML
version: '3'
|
|
|
|
services:
|
|
geth-node:
|
|
image: "${DOCKER_USERNAME}/geth:latest" # Use environment variable for Docker Hub username
|
|
container_name: geth-devnet
|
|
ports:
|
|
- "8545:8545"
|
|
- "30303:30303"
|
|
command: |
|
|
--dev
|
|
--http
|
|
--http.addr 0.0.0.0
|
|
--http.port 8545
|
|
--http.api personal,eth,net,web3
|
|
--allow-insecure-unlock
|
|
volumes:
|
|
- ./data:/root/.ethereum
|
|
networks:
|
|
- devnet
|
|
|
|
networks:
|
|
devnet:
|
|
driver: bridge |