mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
adding docker-compose file
This commit is contained in:
parent
373d9fca4c
commit
f4f55f67bb
1 changed files with 14 additions and 5 deletions
|
|
@ -2,11 +2,20 @@ version: '3.8'
|
|||
|
||||
services:
|
||||
geth:
|
||||
image: denislav-mladenov/go-ethereum:latest
|
||||
image: ghcr.io/denislav-mladenov/go-ethereum:latest
|
||||
ports:
|
||||
- "8545:8545"
|
||||
- "8546:8546"
|
||||
- "30303:30303"
|
||||
volumes:
|
||||
- ./data:/root/.ethereum
|
||||
command: --dev --http --http.addr 0.0.0.0 --http.port 8545 --http.api eth,net,web3,personal,miner
|
||||
|
||||
command:
|
||||
--dev
|
||||
--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
|
||||
|
|
|
|||
Loading…
Reference in a new issue