Docker-compose to easily build the Core Blockchain nodes — Boids.
- docker-compose.yml
- Installation of Mainnode Boid directly from the official image.
- docker-compose-mainnet.yml
- Build & Install the Mainnode Boid from Git repository.
- docker-compose-devin.yml
- Build & Install the Devin Testnet Boid from Git repository.
NETWORKNetwork name to deployCHAINDIRDirectory path to store Blockchain data and node dataKEYDIRDirectory path to store keystoreSYNCMODEBlockchain sync mode ("fast", "full", or "light") (default: "full")GCMODEBlockchain garbage collection mode ("full", "archive") (default: "full")EXPOSEPORTSPorts to be exposed inside the docker container
Ports to be exposed outside of the Docker container.
8545:8545/tcpHTTP-RPC (disabled)8546:8546/tcpWS (disabled)8547:8547/tcpGraphQL (disabled)30300:30300/tcpPeers (enabled)30300:30300/udpPeers (enabled)
Docker-compose is creating Docker volume, which is very useful for updating client without loosing Blockchain data.
We are creating volume: /var/lib/core/{network name} with mounting point /core/{network name}.
docker-compose -f docker-compose.yml up -dPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.