1
0
mirror of https://github.com/Tecnativa/docker-socket-proxy synced 2024-12-03 13:28:16 +00:00
docker-socket-proxy/Dockerfile

36 lines
645 B
Docker
Raw Normal View History

2020-09-25 20:54:07 +00:00
FROM haproxy:2.2-alpine
2017-03-29 09:32:48 +00:00
EXPOSE 2375
ENV ALLOW_RESTARTS=0 \
ALLOW_STOP=0 \
ALLOW_START=0 \
AUTH=0 \
2017-03-29 09:32:48 +00:00
BUILD=0 \
COMMIT=0 \
CONFIGS=0 \
2017-03-29 09:32:48 +00:00
CONTAINERS=0 \
2024-02-01 09:53:56 +00:00
DISABLE_IPV6=0 \
DISTRIBUTION=0 \
2017-03-29 09:32:48 +00:00
EVENTS=1 \
EXEC=0 \
2021-10-09 11:13:52 +00:00
GRPC=0 \
2017-03-29 09:32:48 +00:00
IMAGES=0 \
INFO=0 \
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 \
SOCKET_PATH=/var/run/docker.sock \
2017-03-29 09:32:48 +00:00
SWARM=0 \
SYSTEM=0 \
TASKS=0 \
VERSION=1 \
VOLUMES=0
2024-02-01 09:53:56 +00:00
COPY docker-entrypoint.sh /usr/local/bin/
COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg.template