Skip to content

Commit

Permalink
Updated to HA Proxy 2.9 and healthcheck improved
Browse files Browse the repository at this point in the history
  • Loading branch information
richturner committed Mar 8, 2024
1 parent 8f80d7a commit 18f8a6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# HAProxy image with certbot for certificate generation and renewal
#
# -----------------------------------------------------------------------------------------------
FROM haproxy:2.8-alpine
FROM haproxy:2.9-alpine
MAINTAINER support@openremote.io

USER root
Expand Down Expand Up @@ -59,7 +59,7 @@ ADD cli.ini /root/.config/letsencrypt/
ADD entrypoint.sh /
RUN chmod +x /entrypoint.sh

HEALTHCHECK --interval=60s --timeout=3s --start-period=5s --retries=2 CMD curl --fail --silent http://127.0.0.1/docker-health || exit 1
HEALTHCHECK --interval=5s --timeout=3s --start-period=5s --retries=10 CMD curl --fail --silent http://127.0.0.1/docker-health || exit 1

RUN chown -R haproxy:haproxy /etc/haproxy

Expand Down

0 comments on commit 18f8a6a

Please sign in to comment.