mirror of
https://github.com/writeas/writefreely
synced 2025-01-14 07:46:58 +01:00
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"]
|
||||
|
||||
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
Block a user