Skip to content

Commit

Permalink
Lower heathcheck retries to 3
Browse files Browse the repository at this point in the history
This gives container 15s total to start before it would be considered unhealthy
  • Loading branch information
lmakarov committed Nov 14, 2018
1 parent 9672969 commit 2707e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["dnsmasq"]

# Health check script
HEALTHCHECK --interval=5s --timeout=1s --retries=12 CMD ["/opt/healthcheck.sh"]
HEALTHCHECK --interval=5s --timeout=1s --retries=3 CMD ["/opt/healthcheck.sh"]

0 comments on commit 2707e33

Please sign in to comment.