sameersbn / docker-apt-cacher-ng

Dockerfile to create a Docker container image for Apt-Cacher NG
MIT License
206 stars 71 forks source link

tweak healthcheck as it was failing #25

Closed MatStace closed 4 years ago

MatStace commented 4 years ago

Hi, I noticed that my container was showing as unhealthy, due to the 0 in the wget -q0 so I played with the options to get it to pass

--tries=1 is because wget will retry either 20, or in some cases infinite, times if the check isn't successful --spider makes wget not actually download the page, just check that it's there

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.