2020-12-14 09:14:11 +00:00
|
|
|
FROM haproxy:1.9-alpine
|
2017-03-29 09:32:48 +00:00
|
|
|
|
|
|
|
EXPOSE 2375
|
2019-01-21 13:02:01 +00:00
|
|
|
ENV ALLOW_RESTARTS=0 \
|
|
|
|
AUTH=0 \
|
2017-03-29 09:32:48 +00:00
|
|
|
BUILD=0 \
|
|
|
|
COMMIT=0 \
|
2019-01-08 08:56:51 +00:00
|
|
|
CONFIGS=0 \
|
2017-03-29 09:32:48 +00:00
|
|
|
CONTAINERS=0 \
|
2019-01-08 08:56:51 +00:00
|
|
|
DISTRIBUTION=0 \
|
2017-03-29 09:32:48 +00:00
|
|
|
EVENTS=1 \
|
|
|
|
EXEC=0 \
|
|
|
|
IMAGES=0 \
|
|
|
|
INFO=0 \
|
2019-08-23 09:30:48 +00:00
|
|
|
LOG_LEVEL=info \
|
2017-03-29 09:32:48 +00:00
|
|
|
NETWORKS=0 \
|
|
|
|
NODES=0 \
|
|
|
|
PING=1 \
|
|
|
|
PLUGINS=0 \
|
|
|
|
POST=0 \
|
|
|
|
SECRETS=0 \
|
|
|
|
SERVICES=0 \
|
2019-01-21 12:54:21 +00:00
|
|
|
SESSION=0 \
|
2017-03-29 09:32:48 +00:00
|
|
|
SWARM=0 \
|
|
|
|
SYSTEM=0 \
|
|
|
|
TASKS=0 \
|
|
|
|
VERSION=1 \
|
2019-08-23 09:30:48 +00:00
|
|
|
VOLUMES=0
|
2017-03-29 09:32:48 +00:00
|
|
|
COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
|
|
|
|
|
|
|
|
# Metadata
|
|
|
|
ARG VCS_REF
|
|
|
|
ARG BUILD_DATE
|
2020-12-14 09:14:11 +00:00
|
|
|
LABEL org.opencontainers.image.vendor=Tecnativa \
|
|
|
|
org.opencontainers.image.licenses=Apache-2.0 \
|
|
|
|
org.opencontainers.image.created="$BUILD_DATE" \
|
|
|
|
org.opencontainers.image.revision="$VCS_REF" \
|
|
|
|
org.opencontainers.image.source="https://github.com/Tecnativa/docker-socket-proxy"
|