🐳Docker

Authors: [ Ankur | DappLooker]

System Requirements

CPU
OS
RAM
DISK

4 - 8 vCPU

Ubuntu 22.04

16 GB

4 TiB SSD (NVME)

Pre-requisite

Before starting, clean the setup, then update and upgrade. Install the 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

Download Celo-L1 Data

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

Setup Directory

Download Data

Extract File

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

screen -r nodeConfiguration to return to the screen window.

Migrate L1 Data

Migrate L1 Data to L2 Data

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

Configure Environment file

Edit .env file

Update .env file with the following configuration.

Example .env file

Example docker-compose.yml file

Start the Node

Monitoring

Monitor Logs of Docker Container

Sync Status

Latest Block

Response should look like:

References

Last updated

Was this helpful?