Hi guys, hope you guys are having a good day.
I have some questions.
How the IPFS cluster peer ID is generated? And how we mange the bootstrap (first peer) peer ID programmatically?
It seems that if I change the configuration of the (first) peer and then restart the node, the peer ID changes. As a result, I have to manually update the new peer multiaddress (which is in the form /dns4/{firstpeer.ip}/tcp/9096/ipfs/{peerID}
) for other peers that depends on the first peer to bootstrap themselves.
FYI, I am using docker-compose to manage ipfs cluster and ipfs daemon. Changing the configuration and restarting the peer by updating the docker-compose.yaml and docker-compose up, docker-compose down.
Many thanks.