Skip to content

SmartNMS/docker-haproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

HAProxy

HAProxy 2.1 with inotify tools support.

Supported tags and respective Dockerfile links

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="wingsun97@qq.com"

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 /

About

HAProxy docker with inotify tools support

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors