New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker: Run with daemon --upgrade by default. #394
Conversation
@@ -20,10 +20,15 @@ ipfs-cluster-service --version | |||
if [ -e "${IPFS_CLUSTER_PATH}/service.json" ]; then | |||
echo "Found IPFS cluster configuration at ${IPFS_CLUSTER_PATH}" | |||
else | |||
echo "This container only runs ipfs-cluster-service. ipfs needs to be run separately!" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome
docker/entrypoint.sh
Outdated
ipfs-cluster-service init | ||
if [ -n "$IPFS_API" ]; then | ||
echo "Using \$IPFS_API as value for node_multiaddress in configuration" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already great, but to make this crystal clear say "... as value for the ipfs_connector node_multiaddress". It's hard for newcomers to keep track of all the different nodes and uses of the word node so calling out that this is the IPFS node's address will help those who don't want to dig into the config file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment on improving clarity but looks great
Plus add some warnings for users running the container randomly. License: MIT Signed-off-by: Hector Sanjuan <code@hector.link>
fd42968
to
2fa41e7
Compare
Plus add some warnings for users running the container randomly.
License: MIT
Signed-off-by: Hector Sanjuan code@hector.link