-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded to haproxy 2.7.6 and also fixed config monitoring bug and im…
…proved healthcheck
- Loading branch information
1 parent
7c801a9
commit 9a84bf9
Showing
3 changed files
with
20 additions
and
10 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.7.0-alpine | ||
FROM haproxy:2.7.6-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=3s --timeout=3s --start-period=2s --retries=30 CMD curl --fail --silent http://127.0.0.1:80 || exit 1 | ||
HEALTHCHECK --interval=60s --timeout=3s --start-period=5s --retries=2 CMD curl --fail --silent http://127.0.0.1/docker-health || exit 1 | ||
|
||
RUN chown -R haproxy:haproxy /etc/haproxy | ||
|
||
|
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
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