🐳Docker
Authors: [Vikash Choubey | Dapplooker]
System Requirements
8 vCPU
Ubuntu 22
16GB
52GB+
The Boba Mainnet archival node has a size of 52GB on September 19th, 2024
Pre-requisite
Before starting, clean the setup then update and upgrade. Install following:
Docker & Docker Compose
Git
Commands:
sudo apt update -y && sudo apt upgrade -y && sudo apt auto-remove -y
sudo apt install docker.io docker-compose git ufw -ySet explicit default UFW rules
sudo ufw default deny incoming
sudo ufw default allow outgoingAllow SSH, HTTP and HTTPS
Setup process:
Before starting on root directory, create a direct for boba network with command mkdir boba-archive, then cd boba.
Clone boba network
Create an .env file
The repository includes a sample environment variable file located at .env.example that you can copy and modify to get started. Make a copy of this file and name it .env.
Configuration
Download boba mainnet snapshot and extract
Download boba l2Geth snapshot and extract
Create a Shared Secret (JWT Token) using:
Modify Volume Locations
Example docker-compose file:
Start The Node
docker-compose -f [docker-compose-file] up -d
Monitor Logs
Use docker logs to monitor your boba node. The -f flag ensures you are following the log output
Test RPC:
You should receive a result, after the node is synced:
Last updated
Was this helpful?