mirror of
https://github.com/writefreely/writefreely
synced 2024-11-10 03:24:11 +00:00
Merge pull request #894 from claabs/docker-healthcheck-fix
Fix Docker healthcheck with wget
This commit is contained in:
commit
1dd37bc56d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
Loading…
Reference in a new issue