Merge pull request #894 from claabs/docker-healthcheck-fix
Fix Docker healthcheck with wget
This commit is contained in:
commit
1dd37bc56d
|
@ -45,4 +45,4 @@ USER daemon
|
||||||
ENTRYPOINT ["cmd/writefreely/writefreely"]
|
ENTRYPOINT ["cmd/writefreely/writefreely"]
|
||||||
|
|
||||||
HEALTHCHECK --start-period=5s --interval=15s --timeout=5s \
|
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
|
Loading…
Reference in New Issue