Skip to content

las2peer deployment scripts for Docker Compose

License

Notifications You must be signed in to change notification settings

rwth-acis/las2peer-ethereum-cluster

 
 

Repository files navigation

las2peer deployment scripts for Docker Compose

This repo contains Docker Compose config files (and scripts that generate those config files) that allow quickly deploying a network of las2peer nodes with Ethereum clients for the blockchain-based registry. It also contains the Dockerfiles used to generate the required images.

These files were originally based on the monitored-geth-client and eth-netstats scripts in Capgemini’s ethereum-docker.

This is meant as a testing environment, with preconfigured and funded accounts (which are unlocked and available over geth’s HTTP/WS APIs). Additionally, the mining difficulty is currently fixed to a constant value (see the scripts in fast-geth and monitored-geth-client).

Because preconfigured, password-less accounts are used and geth’s APIs are exposed, this not secure and must not be used as-is for production setups.

Build images and deploy

Enter the subdirectories of docker-images and execute docker build -t SOMENAME .. (If a README is present, read it.) Optionally upload the resulting images to some container registry. Edit the image entries in the config files accordingly.

The ACIS group may provide these images via Docker Hub, but if in doubt, build it yourself.

Ports

If you want to be certain, actually look at the config file to see what ports are used (both internally and externally). But it should be these:

  • bootstrap
    • 9000: las2peer DHT P2P
    • 8545: Ethereum HTTP JSON RPC
    • (8546: Ethereum Websockets JSON RPC – unused)
    • 30303: Ethereum P2P
    • 8080: WebConnector
    • 8001: config file for Registry .ini, so that it can be auto-configured by the peers
  • netstats
    • 3000: Netstats Web interface

About

las2peer deployment scripts for Docker Compose

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 78.2%
  • Dockerfile 21.8%