Merge pull request #894 from claabs/docker-healthcheck-fix

Fix Docker healthcheck with wget
This commit is contained in:
Matt Baer 2024-08-13 15:38:50 -04:00 committed by GitHub
commit 1dd37bc56d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,4 +45,4 @@ USER daemon
ENTRYPOINT ["cmd/writefreely/writefreely"]
HEALTHCHECK --start-period=5s --interval=15s --timeout=5s \
CMD curl -fSs http://localhost:8080/ || exit 1
CMD wget --no-verbose --tries=1 --spider http://localhost:8080/ || exit 1