This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-enable SSL health checks (which we may drop again) Remove ics deploy scripts (will change either way) Update launch script to exec haproxy entrypoint --> using haproxy entrypoint handles HUP signal to reload proxy config Signed-off-by: Erin Schnabel <[email protected]>
- Loading branch information
Erin Schnabel
committed
Sep 3, 2017
1 parent
688e1c4
commit 850c7d6
Showing
7 changed files
with
61 additions
and
258 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 |
---|---|---|
|
@@ -2,22 +2,24 @@ FROM haproxy:1.7.9 | |
|
||
LABEL maintainer="Erin Schnabel <[email protected]> (@ebullientworks)" | ||
|
||
RUN apt-get update && apt-get install -y wget ca-certificates --no-install-recommends && rm -rf /var/lib/apt/lists/* | ||
RUN apt-get update \ | ||
&& apt-get install -y wget ca-certificates --no-install-recommends \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN ln -s /usr/local/etc/haproxy /etc/ && \ | ||
mkdir -p /run/haproxy/ | ||
RUN mkdir -p /run/haproxy \ | ||
mkdir -p /opt/haproxy | ||
|
||
RUN wget https://github.com/coreos/etcd/releases/download/v2.2.2/etcd-v2.2.2-linux-amd64.tar.gz -q && \ | ||
tar xzf etcd-v2.2.2-linux-amd64.tar.gz etcd-v2.2.2-linux-amd64/etcdctl --strip-components=1 && \ | ||
rm etcd-v2.2.2-linux-amd64.tar.gz && \ | ||
mv etcdctl /usr/local/bin/etcdctl | ||
|
||
COPY ./proxy.pem /etc/ssl/proxy.pem | ||
COPY ./startup.sh /opt/startup.sh | ||
COPY ./proxy.pem /etc/ssl/proxy.pem | ||
COPY ./startup.sh /opt/startup.sh | ||
|
||
COPY ./haproxy.cfg /etc/haproxy/haproxy.cfg | ||
COPY ./haproxy-ics.cfg /etc/haproxy/haproxy-ics.cfg | ||
COPY ./haproxy-dev.cfg /etc/haproxy/haproxy-dev.cfg | ||
# allow local override to work | ||
COPY ./haproxy.cfg /opt/haproxy/haproxy.cfg | ||
COPY ./haproxy-dev.cfg /opt/haproxy/haproxy-dev.cfg | ||
|
||
EXPOSE 80 443 1936 | ||
|
||
|
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.
Oops, something went wrong.