This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds option for turning off basic auth for selected services (#154) * Allow a service to be configured as failover for another service in the same backend (#120) * Added support for hot-failover mode * Updated README * Add ability to pass hashed password credentials to HAproxy. (#107) * Remove DHE-RSA-AES128-SHA from SSL_BIND_CIPHERS (#103) * fixed tests error by PRs * do not return haproxy ingress network (#160) * fix the error introduced by EXCLUDE_BASIC_AUTH * bump version
- Loading branch information
Feng Honglin
committed
Feb 15, 2017
1 parent
b881015
commit 0014a80
Showing
15 changed files
with
162 additions
and
50 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
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
FROM alpine:3.4 | ||
|
||
RUN echo PyYAML==3.11 > requirements.txt && \ | ||
echo cached-property==1.2.0 >> requirements.txt && \ | ||
echo docker-py==1.10.3 >> requirements.txt && \ | ||
echo dockerpty==0.4.1 >> requirements.txt && \ | ||
echo docopt==0.6.1 >> requirements.txt && \ | ||
venum34==1.0.4 >> requirements.txt && \ | ||
echo jsonschema==2.5.1 >> requirements.txt && \ | ||
vtexttable==0.8.4 >> requirements.txt && \ | ||
echo future==0.15.0 >> requirements.txt && \ | ||
echo requests==2.7.0 >> requirements.txt && \ | ||
echo six==1.9.0 >> requirements.txt && \ | ||
echo websocket-client==0.37.0 >> requirements.txt && \ | ||
echo docker-compose==1.6.0 >> requirements.txt && \ | ||
echo python-dockercloud==1.0.5 >> requirements.txt && \ | ||
echo gevent==1.1.1 >> requirements.txt | ||
|
||
RUN apk update && \ | ||
apk --no-cache add tini haproxy py-pip build-base python-dev ca-certificates && \ | ||
pip install -r requirements.txt | ||
|
||
ENV RSYSLOG_DESTINATION=127.0.0.1 \ | ||
MODE=http \ | ||
BALANCE=roundrobin \ | ||
MAXCONN=4096 \ | ||
OPTION="redispatch, httplog, dontlognull, forwardfor" \ | ||
TIMEOUT="connect 5000, client 50000, server 50000" \ | ||
STATS_PORT=1936 \ | ||
STATS_AUTH="stats:stats" \ | ||
SSL_BIND_OPTIONS=no-sslv3 \ | ||
SSL_BIND_CIPHERS="ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:AES128-GCM-SHA256:AES128-SHA256:AES128-SHA:AES256-GCM-SHA384:AES256-SHA256:AES256-SHA:DHE-DSS-AES128-SHA:DES-CBC3-SHA" \ | ||
HEALTH_CHECK="check inter 2000 rise 2 fall 3" \ | ||
NBPROC=1 | ||
|
||
COPY . /haproxy-src | ||
RUN cp /haproxy-src/reload.sh /reload.sh && \ | ||
cd /haproxy-src && \ | ||
pip install . | ||
|
||
|
||
EXPOSE 80 443 1936 | ||
ENTRYPOINT ["/sbin/tini", "--"] | ||
CMD ["dockercloud-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "1.6.2" | ||
__version__ = "1.6.3" |
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 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 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
Oops, something went wrong.