🐳Docker

Authors: [ JleopoldA ]

System Requirements

CPU
OS
RAM
DISK

4 Core

Ubuntu 22.04.4

16GB RAM

1.5TB

Blast Archival node has a size of 1.5TB on September 30, 2024.

Blast

To run Blast you need to utilize an L1 node for Blast to interact with. Instructions on how to do so can be found here. https://docs.prylabs.network/docs/install/install-with-script

Official Docs

https://docs.blast.io/about-blast

Pre-Requisites

Update, upgrade, clean the system, and apply firewall management (ufw).

# Update, upgrade and clean system
sudo apt update -y && sudo apt upgrade -y && sudo apt auto-remove -y
# Set explicit default UFW rules
sudo ufw default deny incoming && sudo ufw default allow outgoing

# Allow SSH, HTTP and HTTPS
sudo ufw allow 22/tcp
sudo ufw allow 80
sudo ufw allow 443

Install Docker & Docker Compose

The following code will install Docker & Docker Compose, both are necessary requirements to run Blast.

Create Blast Directory

The command "mkdir blast" will create a directory named "blast" within your current working directory. The second command will alter your current working directory to the newly created "blast" directory.

Clone Blast-IO Deployment Repository

The Blast deployment repository contains the necessary Docker Compose Configurations. We will obtain the Deployment repository while within our "blast" directory. The commands "git clone [email protected]:blast-io/deployment.git" or "git clone https://github.com/blast-io/deployment.git" will download the repository. The command "cd deployment" will change your current working directory to the deployment directory.

Create .env file

Paste the following into your newly created .env file.

Start Docker Containers

This pulls the latest version of the pre-built Docker images and starts the necessary containers.

Query Blast Node

View Docker Logs

References

https://docs.blast.io/building/guides/node/basic

Last updated