forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create docker-compose.yml to run a local devnet with the new docker i…
…mage
- Loading branch information
1 parent
8311605
commit 3a97e61
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: '3.8' | ||
|
||
services: | ||
geth-node: | ||
image: pavelsborisov/go-ethereum-fork:latest | ||
container_name: ethereum-node | ||
ports: | ||
- "8545:8545" | ||
- "30303:30303" | ||
# Not mounting any volumes for now as this is a sample devnet so no need to persist data | ||
command: > | ||
--dev | ||
--http | ||
--http.addr 0.0.0.0 | ||
--http.port 8545 | ||
--http.api eth,net,web3 | ||
--http.corsdomain "*" | ||
--ws | ||
--ws.addr 0.0.0.0 | ||
--ws.port 8546 | ||
--ws.api eth,net,web3 | ||
--ws.origins "*" |