-
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…#8170) Adds following haproxy and container changes: - lowers maxconn to 60000 - removes rsyslog - lowers tune.buffsize to 2x default value - adds max 1G memory limit to haproxy container in docker-compose template #8166
- Loading branch information
1 parent
deb0a21
commit 534f126
Showing
5 changed files
with
9 additions
and
63 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 |
---|---|---|
@@ -1,14 +1,12 @@ | ||
FROM haproxy:2.6 | ||
|
||
USER root | ||
RUN apt-get update && apt-get install rsyslog luarocks gettext jq curl -y | ||
RUN apt-get update && apt-get install luarocks gettext jq curl -y | ||
COPY entrypoint.sh / | ||
RUN chmod +x /entrypoint.sh | ||
|
||
ADD default_frontend.cfg /usr/local/etc/haproxy | ||
ADD backend.cfg.template /usr/local/etc/haproxy | ||
ADD rsyslog.conf /etc/rsyslog.conf | ||
COPY scripts /usr/local/etc/haproxy/ | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] | ||
CMD ["haproxy", "-f", "/usr/local/etc/haproxy/default_frontend.cfg", "-f", "/usr/local/etc/haproxy/backend.cfg"] |
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
This file was deleted.
Oops, something went wrong.
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