Babylon Node Deployment Guide
This guide provides detailed instructions on how to set up and run a Babylon blockchain node using Docker. Below you'll find information on configuring your environment, building the Docker image, initializing your node, and starting the node.
Prerequisites
Before starting, ensure you edit the .env
file with appropriate values according to your setup needs.
Variables in .env
File
DAEMON_HOME
/root/.babylond
BABYLON_DATA_HOST_PATH
Description: The location on the host machine where blockchain data and configuration are persisted. This can be a local filesystem path or a Docker volume, mounted through Docker Compose.
Example:
local path: `$HOME/.babylon-data/`
docker volume: `babylon-data`
MONIKER
my-babylon-node
DAEMON_NAME
babylond
Building the Docker Image
To build the Docker image for your node, use the following command, specifying the Babylon version you wish to build:
export VERSION=v0.8.5
docker build --build-arg BABYLON_VERSION=$VERSION -t babylon-full-node:$VERSION .