Run Node
To run a node on the Fleek Network, follow these steps:
1. System Requirements
Ensure your system meets the minimum requirements:
Operating System: Linux (Debian >= 11 or Ubuntu >= 22.04 LTS).
CPU: Minimum 4 cores with a speed of 2.0 GHz, x86_64 architecture.
Memory: At least 32 GB of RAM.
Disk Space: At least 20 GB.
2. Install Docker
If Docker is not installed, install it by running:
sudo apt-get update
sudo apt-get install -y docker-ce
Verify the installation with:
docker -v
sudo docker run hello-world
3. Build the Docker Image
Navigate to the directory where the Fleek Network source code is located, and build the Docker image:
sudo docker build -t lightning -f ./Dockerfile .
4. Run the Docker Container
Run the container using the built image:
sudo docker run \
-p 4200-4299:4200-4299 \
-p 4300-4399:4300-4399 \
--mount type=bind,source=$HOME/.lightning,target=/home/lgtn/.lightning \
--mount type=bind,source=/var/tmp,target=/var/tmp \
--name lightning-node \
-it ghcr.io/fleek-network/lightning:latest
5. Generate Node Keys
Generate the necessary keys:
sudo docker exec -it lightning-node lgtn keys generate
6. Open Required Ports
Ensure the following ports are open on your system:
TCP: 4200-4299
UDP: 4300-4399
Last updated