-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to HA Proxy 2.9 and healthcheck improved
- Loading branch information
1 parent
8f80d7a
commit 18f8a6a
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# HAProxy image with certbot for certificate generation and renewal | ||
# | ||
# ----------------------------------------------------------------------------------------------- | ||
FROM haproxy:2.8-alpine | ||
FROM haproxy:2.9-alpine | ||
MAINTAINER [email protected] | ||
|
||
USER root | ||
|
@@ -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 | ||
|
||
|