🐳Docker

Authors: [ Ankur | DappLooker]

System Requirements

CPU
OS
RAM
DISK

4 - 8 vCPU

Ubuntu 22.04

16 GB

4 TiB SSD (NVME)

circle-check

Pre-requisite

Before starting, clean the setup then update and upgrade. Install following:

  • Docker

Commands

sudo apt update -y && sudo apt upgrade -y && sudo apt auto-remove -y
sudo apt install docker.io ufw -y jq -y

Firewall Settings

Check status & enable UFW

sudo ufw enable
sudo ufw status verbose

Set explicit default UFW rules

Allow SSH, HTTP, and HTTPS

Allow Remote connection

Setup Instructions

1

Download Celo-L1 Data

circle-info

You can skip this step if you have already running L1 node

Setup Directory

Download Data

Extract File

circle-info

Use ctrl + A + D to go back to your main terminal session.

screen -r nodeConfiguration to return to the screen window.

2

Migrate L1 Data

Migrate L1 Data to L2 Data

circle-info

Run it in background or screen will take few hours to complete.

3

Configure Environment file

Edit .env file

Update .env file with the following configuration.

Example .env file

Example docker-compose.yml file

Exaple .env File

4

Start the Node

Monitoring

Monitor Logs of Docker Container

circle-exclamation

Sync Status

Latest Block

Response should look like:

REFERENCES

Run a celo Archive Node
Block Explorer

Last updated