Skip to content
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

Merged
merged 1 commit into from Apr 27, 2018

Conversation

hsanjuan
Copy link
Collaborator

Plus add some warnings for users running the container randomly.

License: MIT
Signed-off-by: Hector Sanjuan code@hector.link

@hsanjuan hsanjuan self-assigned this Apr 26, 2018
@ghost ghost added the status/in-progress In progress label Apr 26, 2018
@coveralls
Copy link

coveralls commented Apr 26, 2018

Coverage Status

Coverage increased (+0.01%) to 67.296% when pulling 2fa41e7 on docker/run-daemon-default into 695177a on master.

@@ -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!"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome

ipfs-cluster-service init
if [ -n "$IPFS_API" ]; then
echo "Using \$IPFS_API as value for node_multiaddress in configuration"
Copy link
Collaborator

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.

Copy link
Collaborator

@ZenGround0 ZenGround0 left a 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>
@hsanjuan hsanjuan merged commit 01bf4c1 into master Apr 27, 2018
@ghost ghost removed the status/in-progress In progress label Apr 27, 2018
@hsanjuan hsanjuan deleted the docker/run-daemon-default branch April 27, 2018 06:19
@hsanjuan hsanjuan mentioned this pull request Apr 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants