-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add retry option to curl when uploading certificates #17
Conversation
Add a retry option in case curl fails
Fix updating the wrong variable
Move counter update to the end of the loop, so our counter logic is valid
Add options to curl to hide the progress bar but show errors which can be helpful
Move counter back to the beginning as this avoids any logic in the print statement
Move sleep statement to avoid unnecessary sleep
Thanks! This looks good, will accept the pull request. Can't test it right now but it looks perfect 👍 When I find some time to test it I will make a new release. |
Thanks! |
https://hub.docker.com/r/hamburml/docker-flow-letsencrypt/tags/ Latest-Tag is already newest version. |
Thanks for the new release, works like a charm! |
@hamburml it would be great if you could release as a version number as well.. maybe 1.2 |
@patrickleet Will do. The master branch is automatically build by docker-cloud as latest tag. That's the reason why I mentioned it. Will create the tag right now. v0.1.2 is now available https://hub.docker.com/r/hamburml/docker-flow-letsencrypt/tags/ |
Using docker swarm it can happen that a docker-flow-letsencrypt container starts before a docker-flow-proxy container. When that is the case curl fails (stating it is unable to resolve host ...). So I added a retry mechanism and curl will try again if it fails.