Skip to content

mohdrashid/docker-ipfs-cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

standalone-ipfs-cluster-docker

The ipfs cluster has to be altered to make it work with other peers. So, one node needs to be initialized first [This docker-compose file is in master branch]. Then other nodes will initialized based on cluster details of the first node located in defined-cluster branch. Steps:

  1. Docker-compose run the first node
  2. Go to /data/ipfs-cluster or whichever mapped location
  3. Open service.json
  4. In Other nodes folder at location Other nodes\individual\cluster\run.sh
  5. Change “/cluster daemon --bootstrap /ip4//tcp/9096/ipfs/” with
  6. Run the docker-compose file in the other node
  7. After running docker-compose, a service.json file will be created in the same location as the first node for the second node. Go there and change private_key field to match with the private_key of the first node. This is the magic that prevents others from joining in a cluster.
  8. Docker restart the containers

About

IPFS cluster with IPFS docker-compose images

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages