-
Notifications
You must be signed in to change notification settings - Fork 188
/
Dockerfile.linux-arm
52 lines (44 loc) · 1.8 KB
/
Dockerfile.linux-arm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
FROM arm32v7/haproxy
COPY tmp/qemu-arm-static /usr/bin/qemu-arm-static
MAINTAINER Raymond Mouthaan <raymondmmouthaan@gmail.com>
ENV CERTS="" \
CAPTURE_REQUEST_HEADER="" \
CFG_TEMPLATE_PATH="/cfg/tmpl/haproxy.tmpl" \
CHECK_RESOLVERS=false \
CONNECTION_MODE="http-keep-alive" \
CRT_LIST_PATH="" \
DEBUG="false" \
DEFAULT_PORTS="80,443:ssl" \
DEFAULT_REQ_MODE="http" \
DO_NOT_RESOLVE_ADDR="false" \
ENABLE_H2="true" \
FILTER_PROXY_INSTANCE_NAME="false" \
HEALTHCHECK="true" \
HTTPS_ONLY="false" \
EXTRA_FRONTEND="" \
LISTENER_ADDRESS="" \
MODE="default" \
PROXY_INSTANCE_NAME="docker-flow" \
RELOAD_ATTEMPTS="5" \
RELOAD_INTERVAL="5000" REPEAT_RELOAD=false \
RECONFIGURE_ATTEMPTS="20" \
SEPARATOR="," \
SERVICE_NAME="proxy" SERVICE_DOMAIN_ALGO="hdr_beg(host)" \
STATS_USER="" STATS_USER_ENV="STATS_USER" STATS_PASS="" STATS_PASS_ENV="STATS_PASS" STATS_URI="" STATS_URI_ENV="STATS_URI" STATS_PORT="" \
TIMEOUT_HTTP_REQUEST="5" TIMEOUT_HTTP_KEEP_ALIVE="15" TIMEOUT_CLIENT="20" TIMEOUT_CONNECT="5" TIMEOUT_QUEUE="30" TIMEOUT_SERVER="20" TIMEOUT_TUNNEL="3600" \
USERS="" \
SKIP_ADDRESS_VALIDATION="true" \
SSL_BIND_OPTIONS="no-sslv3" SSL_BIND_CIPHERS="ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS"
COPY scripts/check.sh /usr/local/bin/check.sh
RUN chmod +x /usr/local/bin/check.sh
COPY errorfiles /errorfiles
COPY haproxy.cfg /cfg/haproxy.cfg
RUN mkdir -p /cfg/tmpl /templates /certs /logs
COPY haproxy.tmpl /cfg/tmpl/haproxy.tmpl
COPY docker-flow-proxy_linux_arm /usr/local/bin/docker-flow-proxy
RUN chmod +x /usr/local/bin/docker-flow-proxy
HEALTHCHECK --interval=5s --start-period=3s --timeout=5s CMD check.sh
EXPOSE 80
EXPOSE 443
EXPOSE 8080
CMD ["docker-flow-proxy", "server"]