adding docker-compose file

This commit is contained in:
denislav-mladenov 2024-07-17 17:41:50 +03:00
parent 373d9fca4c
commit f4f55f67bb

View file

@ -2,11 +2,20 @@ version: '3.8'
services: services:
geth: geth:
image: denislav-mladenov/go-ethereum:latest image: ghcr.io/denislav-mladenov/go-ethereum:latest
ports: ports:
- "8545:8545" - "8545:8545"
- "8546:8546"
- "30303:30303" - "30303:30303"
volumes: command:
- ./data:/root/.ethereum --dev
command: --dev --http --http.addr 0.0.0.0 --http.port 8545 --http.api eth,net,web3,personal,miner --http
--http.addr 0.0.0.0
--http.port 8545
--http.corsdomain "*"
--http.api personal,db,eth,net,web3
--ws
--ws.addr 0.0.0.0
--ws.port 8546
--ws.origins "*"
--ws.api personal,db,eth,net,web3