2017-03-29 09:32:48 +00:00
|
|
|
FROM haproxy:1.7-alpine
|
2018-02-17 17:19:11 +00:00
|
|
|
LABEL maintainer="Tecnativa <info@tecnativa.com>"
|
2017-03-29 09:32:48 +00:00
|
|
|
|
|
|
|
EXPOSE 2375
|
2018-02-17 17:23:19 +00:00
|
|
|
VOLUME /run/docker-filtered
|
2017-03-29 09:32:48 +00:00
|
|
|
ENV AUTH=0 \
|
|
|
|
BUILD=0 \
|
|
|
|
COMMIT=0 \
|
|
|
|
CONTAINERS=0 \
|
|
|
|
EVENTS=1 \
|
|
|
|
EXEC=0 \
|
|
|
|
IMAGES=0 \
|
|
|
|
INFO=0 \
|
|
|
|
NETWORKS=0 \
|
|
|
|
NODES=0 \
|
|
|
|
PING=1 \
|
|
|
|
PLUGINS=0 \
|
|
|
|
POST=0 \
|
|
|
|
SECRETS=0 \
|
|
|
|
SERVICES=0 \
|
|
|
|
SWARM=0 \
|
|
|
|
SYSTEM=0 \
|
|
|
|
TASKS=0 \
|
|
|
|
VERSION=1 \
|
2018-02-17 17:23:19 +00:00
|
|
|
VOLUMES=0 \
|
|
|
|
SOCK_NETWORK=1 \
|
|
|
|
SOCK_DISK=1
|
2017-03-29 09:32:48 +00:00
|
|
|
COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
|
|
|
|
|
|
|
|
# Metadata
|
|
|
|
ARG VCS_REF
|
|
|
|
ARG BUILD_DATE
|
2018-02-17 17:20:15 +00:00
|
|
|
LABEL org.label-schema.schema-version="1.1" \
|
2017-03-29 09:32:48 +00:00
|
|
|
org.label-schema.vendor=Tecnativa \
|
|
|
|
org.label-schema.license=Apache-2.0 \
|
|
|
|
org.label-schema.build-date="$BUILD_DATE" \
|
|
|
|
org.label-schema.vcs-ref="$VCS_REF" \
|
2018-02-19 10:09:22 +00:00
|
|
|
org.label-schema.vcs-url="https://github.com/Tecnativa/docker-socket-proxy"
|