thomasxnguy / docker-ethereum

Start a private Ethereum network with docker-compose to quickly get started with development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ethereum Docker

Provide a docker-compose allowing to quickly run a private Ethereum network as well as a monitoring dashboard for quick development.

I used the official golang implementation Geth as a base image for the node.

Genesis file has been generated using puppeth with POA(Proof of Authority) consensus engine.

Getting started

Prerequisites

  • Docker and Docker Compose installed

To start

To run the Ethereum network, run the following:

$ docker-compose -f docker-compose.yml up -d

This will create a private Ethereum network composed of 2 nodes.

Get Enode Id

$ docker logs geth_node1 2>&1 | grep "enode:"
$ docker logs geth_node2 2>&1 | grep "enode:"

Each node won't be persisting data on disk. If you need to, uncomment the section in the docker-compose.yml

Monitoring

To access monitoring dashboard, visit http://localhost:3000/

About

Start a private Ethereum network with docker-compose to quickly get started with development

License:MIT License


Languages

Language:Dockerfile 82.2%Language:Shell 17.8%