Skip to content

Commit

Permalink
fix: improve health check for podman (#1253)
Browse files Browse the repository at this point in the history
Some older versions of podman don't have proper defaults for HEALTHCHECK
containers/podman#3525
  • Loading branch information
Ryan Faircloth authored Aug 31, 2021
1 parent a3eae1b commit b963754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ EXPOSE 6514/tcp
#/dev/log a low priv user cannot read this and the container will fail in SC4S
#and other uses the low user may be selected

HEALTHCHECK --timeout=6s CMD curl -s --fail http://localhost:8080/healthz || exit 1
HEALTHCHECK --interval=10s --retries=6 --timeout=6s CMD curl -s --fail http://localhost:8080/healthz || exit 1

COPY package/etc/goss.yaml /etc/syslog-ng/goss.yaml

Expand Down

0 comments on commit b963754

Please sign in to comment.