Skip to content

Commit 18f8a6a

Browse files
committed
Updated to HA Proxy 2.9 and healthcheck improved
1 parent 8f80d7a commit 18f8a6a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# HAProxy image with certbot for certificate generation and renewal
44
#
55
# -----------------------------------------------------------------------------------------------
6-
FROM haproxy:2.8-alpine
6+
FROM haproxy:2.9-alpine
77
MAINTAINER support@openremote.io
88

99
USER root
@@ -59,7 +59,7 @@ ADD cli.ini /root/.config/letsencrypt/
5959
ADD entrypoint.sh /
6060
RUN chmod +x /entrypoint.sh
6161

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

6464
RUN chown -R haproxy:haproxy /etc/haproxy
6565

0 commit comments

Comments
 (0)