Sign inSign up

smartnms/haproxy

By smartnms

•Updated over 6 years ago

HAPRoxy with inotify tools support, 2.1

Image
0

368

smartnms/haproxy repository overview

⁠HAProxy

HAProxy 2.1 with inotify tools support.

⁠Quick start for haproxy

⁠Check haproxy configuration

docker run -it --rm --name haproxy-syntax-check smartnms/haproxy:2.1 -c -f /usr/local/etc/haproxy/haproxy.cfg

⁠1. Create docker compose file

docker-compose.yml

⁠2. Check haproxy configuration

docker-compose run --rm haproxy -c -f /usr/local/etc/haproxy/haproxy.cfg

⁠Dockfile

#
# docker build -t smartnms/haproxy:2.1 .
#
FROM haproxy:2.1

LABEL maintainer="[email protected]"

RUN apt-get update && apt-get install -y inotify-tools \
    && apt-get clean \
    && apt-get autoremove -y \
    && rm -rf /var/lib/apt/lists/* \
      /tmp/* \
      /var/tmp/*

COPY docker-entrypoint.sh /

Tag summary

Content type

Image

Digest

Size

34.7 MB

Last updated

over 6 years ago

docker pull smartnms/haproxy:2.1