mirror of
https://github.com/linuxserver/docker-socket-proxy.git
synced 2026-01-19 20:02:09 +08:00
* Initial LSIO release * Fix restarts description * Add docker socket (fairly important) * Remove inapplicable note about /config * Don't run CI tests because they will always fail * Remove baseimage notes * Pass haproxy version as FROM arg * Default to lts image if no arg is passed * Remove network * Support disabling ipv6, fix missing config options * Use main as default branch * Remove unused grpc env
48 lines
825 B
Docker
48 lines
825 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
ARG HAPROXY_VERSION
|
|
|
|
FROM haproxy:${HAPROXY_VERSION:-lts}-alpine
|
|
|
|
# set version label
|
|
ARG BUILD_DATE
|
|
ARG VERSION
|
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
|
LABEL maintainer="thespad"
|
|
|
|
ENV ALLOW_RESTARTS=0 \
|
|
ALLOW_STOP=0 \
|
|
ALLOW_START=0 \
|
|
AUTH=0 \
|
|
BUILD=0 \
|
|
COMMIT=0 \
|
|
CONFIGS=0 \
|
|
CONTAINERS=0 \
|
|
DISABLE_IPV6=0 \
|
|
DISTRIBUTION=0 \
|
|
EVENTS=1 \
|
|
EXEC=0 \
|
|
IMAGES=0 \
|
|
INFO=0 \
|
|
LOG_LEVEL=info \
|
|
NETWORKS=0 \
|
|
NODES=0 \
|
|
PING=1 \
|
|
PLUGINS=0 \
|
|
POST=0 \
|
|
SECRETS=0 \
|
|
SERVICES=0 \
|
|
SESSION=0 \
|
|
SOCKET_PATH=/var/run/docker.sock \
|
|
SWARM=0 \
|
|
SYSTEM=0 \
|
|
TASKS=0 \
|
|
VERSION=1 \
|
|
VOLUMES=0
|
|
|
|
USER root
|
|
|
|
COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
|
|
|
|
EXPOSE 2375
|