From 3a97e6142f829fd6c0ec51ecdc7d65e5cf2b8a3f Mon Sep 17 00:00:00 2001 From: Pavel Borisov Date: Mon, 26 Aug 2024 22:16:43 +0300 Subject: [PATCH] Create docker-compose.yml to run a local devnet with the new docker image --- docker-compose.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000000..50b251bdeb10 --- /dev/null +++ b/docker-compose.yml @@ -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 "*"