mirror of
https://github.com/Dokploy/templates.git
synced 2026-05-06 02:07:03 -05:00
[PR #415] [CLOSED] feat: reef chain bootstrap #1803
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/415
Author: @anukulpandey
Created: 10/3/2025
Status: ❌ Closed
Base:
canary← Head:reef-chain📝 Commits (10+)
50cc1bcfeat: reef chain bootstrapf5949cbfix: missing doc field91653cdfeat: reef rpc41920f4fix: meta72b2109feat: toml changes8869a34fix: var in rpc35bfe1cfeat: minimal rpcbba1445feat: default envsf63563fbootnode toml2971695feat: icon📊 Changes
22 files changed (+1047 additions, -0 deletions)
View changed files
➕
blueprints/reef-bootnode/docker-compose.yml(+48 -0)➕
blueprints/reef-bootnode/reef.svg(+68 -0)➕
blueprints/reef-bootnode/template.toml(+37 -0)➕
blueprints/reef-dev-cluster/docker-compose.yml(+43 -0)➕
blueprints/reef-dev-cluster/reef.svg(+68 -0)➕
blueprints/reef-dev-cluster/template.toml(+57 -0)➕
blueprints/reef-eth-rpc/docker-compose.yml(+13 -0)➕
blueprints/reef-eth-rpc/reef.svg(+68 -0)➕
blueprints/reef-eth-rpc/template.toml(+13 -0)➕
blueprints/reef-keygen/docker-compose.yml(+38 -0)➕
blueprints/reef-keygen/reef.svg(+68 -0)➕
blueprints/reef-keygen/template.toml(+11 -0)➕
blueprints/reef-rpc/docker-compose.yml(+39 -0)➕
blueprints/reef-rpc/reef.svg(+68 -0)➕
blueprints/reef-rpc/template.toml(+29 -0)➕
blueprints/reef-spec-gen/docker-compose.yml(+37 -0)➕
blueprints/reef-spec-gen/reef.svg(+68 -0)➕
blueprints/reef-spec-gen/template.toml(+9 -0)➕
blueprints/reef-validator/docker-compose.yml(+40 -0)➕
blueprints/reef-validator/reef.svg(+68 -0)...and 2 more files
📄 Description
Added Reef chain node to dokploy template for setting up a cluster
Can read more about reef chain here - https://reef.io
🌊 Reef Cluster – Dokploy Deployment Guide
A Reef validator cluster can be deployed in two different ways on Dokploy:
🟢 Method 1: Single Template (Full Cluster Setup) [RECOMMENDED]
A single deployment handles bootnode + all validators + RPC.
🔵 Method 2: Multiple Templates (Bootstrap + Individual Validators)
You deploy bootstrap + validators separately for more control.
📑 Table of Contents
Method 1 – Single Template
Method 2 – Multiple Templates
🟢 Method 1: Single Template – Full Cluster Setup
Step 1: Generate Validator Keys
Go to Create Service
Select Template from the menu.
Add template repo URL at the top-right:
Search for “Reef”
Click Create on Reef Chain – Keys Generator, then confirm.
Deploy the service.
Visit the port
http://reef.host:48765or your IP address / hostname at port48765Copy all address + seed pairs, they will be needed later.
Step 2: Deploy Custom Spec Generator
Reef Chain – Custom Spec Generator
Deploy it.
It runs on port 8000 by default:
You can change the port in environment variables if needed.
This service is used by the validators to automatically fetch the custom chain spec.
Step 3: Deploy the Complete Cluster
Reef Chain – Dev Cluster
You may configure:
specgenurl→ URL of your custom spec generatorhttp://reef.host:8000Deploy the service.
Logs should show successful bootnode + 3 validators starting:
🎉 The cluster is now running!
Adding More Validators
Generate more validators using Reef Chain – Keys Generator.
Fill in the new keys → Deploy.
Deploy Ethereum RPC
Search template:
Reef Chain – ETH RPC
Deploy → It will use the default substrate RPC:
ETH RPC runs at:
🎉 Your full cluster (bootnode + validators + RPC + ETH RPC) is now live.
🔵 Method 2: Multiple Templates – Bootstrap & Validators
Step 1: Generate Validator Keys (Same as Method 1)
👉 Jump to: Generate Validator Keys
Step 2: Deploy Bootnode Validator
Create service → choose template:
Reef Chain – Bootnode Validator
Fill in:
v1sec,v2sec,v3secv1addr,v2addr,v3addrPORT=8000→ exposes custom specP2P_PORT=30335→ bootnode peer portBootnode starts → no peers yet (expected).
Step 3: Deploy Additional Validators
Use:
Reef Chain – Validator
Deploy 2 or more validators → finalize blocks.
Deploy ETH RPC (Method 2)
Same template:
Reef Chain – ETH RPC
ETH RPC default port:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.