Skip to content

sid226/ipfs-cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

ipfs-cluster

IPFS cluster setup

Requirements

  • Docker

Commands

  • Ensure that following data is removed. /cluster/peer1/config/ipfs-cluster-data /cluster/peer1/config/ipfs-cluster-data

  • Only service.json will be present in /cluster/[peer]/config

  • Add same secret for both peers in service.json

    "secret": "6b4b8e2c88661341b243c865de64f4722cb613b38bab9b962820b42c175b9b3a",
  • Ensure peers is empty in service.json

    "peers": [],
docker-compose -f docker-compose-ipfs-cluster.yaml up

//connect peer1 to peer2
docker exec ipfs_peer-1_1 ipfs-cluster-ctl peers add /ip4/172.20.0.2/tcp/9096/ipfs/QmbuWdsRWhasARr9Tm8aoAESahcHPEqYN1gT28Us2Jdssx

About

IPFS cluster setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published