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.
NETWORK
Network name to deployCHAINDIR
Directory path to store Blockchain data and node dataKEYDIR
Directory path to store keystoreSYNCMODE
Blockchain sync mode ("fast", "full", or "light") (default: "full")GCMODE
Blockchain garbage collection mode ("full", "archive") (default: "full")EXPOSEPORTS
Ports to be exposed inside the docker container
Ports to be exposed outside of the Docker container.
8545:8545/tcp
HTTP-RPC (disabled)8546:8546/tcp
WS (disabled)8547:8547/tcp
GraphQL (disabled)30300:30300/tcp
Peers (enabled)30300:30300/udp
Peers (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 -d
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.