Skip to content

Commit

Permalink
Create docker-compose.yml to run a local devnet with the new docker i…
Browse files Browse the repository at this point in the history
…mage
  • Loading branch information
pavelBorisovZetta committed Aug 26, 2024
1 parent 8311605 commit 3a97e61
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docker-compose.yml
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 "*"

0 comments on commit 3a97e61

Please sign in to comment.