Sign inSign up

romracer/haproxy-docker-logging

By romracer

Updated over 7 years ago

Latest Alpine-based official HAProxy image with logging to stdout

Image
0

100K+

romracer/haproxy-docker-logging repository overview

HAProxy with stdout logging (syslogd)

This image uses the latest Alpine-based HAProxy, adds tini, starts syslogd and provides stdout logging.

Configuration

To use stdout logging with your Docker container, please use this snippet in your HAProxy config:

defaults
    log global
    log /dev/log local0
Usage

Please visit official HAProxy repository for information on how to use this image. It is pretty the same.

Example
docker run -d --rm --name haproxy-docker-logging --rm \
           -p <host port>:<container port> \
           -v /path/to/haproxy/config:/usr/local/etc/haproxy:ro \
           --name haproxy \
           mminks/haproxy-docker-logging
Reload HAProxy

Reload your HAProxy in case of config changes without restarting the complete container. Send a SIGHUP signal to the container an the HAProxy process will reload gracefully.

docker kill -s SIGHUP haproxy

Tag summary

Content type

Image

Digest

Size

7.9 MB

Last updated

over 7 years ago

docker pull romracer/haproxy-docker-logging:1.8-alpine