https://github.com/mohdrashid/docker-ipfs-cluster
IPFS cluster with IPFS docker-compose images
https://github.com/mohdrashid/docker-ipfs-cluster
docker docker-compose ipfs ipfs-cluster
Last synced: 2 months ago
JSON representation
IPFS cluster with IPFS docker-compose images
- Host: GitHub
- URL: https://github.com/mohdrashid/docker-ipfs-cluster
- Owner: mohdrashid
- Created: 2018-06-26T13:07:54.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-31T09:15:39.000Z (over 7 years ago)
- Last Synced: 2024-12-31T10:26:30.708Z (over 1 year ago)
- Topics: docker, docker-compose, ipfs, ipfs-cluster
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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