Skip to content

An all in one Besu + Orion image that uses about 0.5 GB of RAM and one vCPU worth of hardware resources idling. This makes it much easier to pull up for tests that are about functionality rather than running a production grade ledger.

License

Notifications You must be signed in to change notification settings

petermetz/besu-docker-all-in-one

Repository files navigation

Besu All in One Image

An all in one Besu + Orion image that uses about 0.5 GB of RAM and one vCPU worth of hardware resources idling. This makes it much easier to pull up for tests that are about functionality rather than running a production grade ledger.

Comes equipped with supervisord which provides access to tailing logs of both orion and besu via a web based user interface that you can access via the port 9001 of the container (granted you exposed it on your host).

Build an image locally

docker build . -t besu-all-in-one:latest

Shell into a running container:

docker run -it --entrypoint bash besu-all-in-one

Easiest way to run the image with defaults

docker-compose up

The following ports are open on the container:

- 8545:8545/tcp # besu RPC - HTTP
- 8546:8546/tcp # besu RPC - WebSocket
- 8888:8888/tcp # orion - HTTP
- 9001:9001/tcp # supervisord - HTTP
- 9545:9545/tcp # besu metrics

Without docker-compose

docker run -p 0.0.0.0:8545:8545/tcp  -p 0.0.0.0:8546:8546/tcp  -p 0.0.0.0:8888:8888/tcp  -p 0.0.0.0:9001:9001/tcp  -p 0.0.0.0:9545:9545/tcp besu-all-in-one:latest

Logs of Besu and Orion via supervisord web UI:

Navigate your browser to http://localhost:9001

About

An all in one Besu + Orion image that uses about 0.5 GB of RAM and one vCPU worth of hardware resources idling. This makes it much easier to pull up for tests that are about functionality rather than running a production grade ledger.

Resources

License

Stars

Watchers

Forks

Packages

No packages published