spop 0.6.0

Library for parsing HAProxy SPOP (Stream Processing Offload Protocol)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM haproxy:latest

# Switch to root to install packages
User root
RUN apt-get update && apt-get install -y iproute2 netcat-traditional && rm -rf /var/lib/apt/lists/*

User haproxy

# Copy HAProxy and SPOE configuration files
COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
COPY spoe-test.conf /usr/local/etc/haproxy/spoe-test.conf

# Set up HAProxy to run in the foreground
CMD ["haproxy", "-f", "/usr/local/etc/haproxy/haproxy.cfg", "-db"]
# debug add -d
# CMD ["haproxy", "-d", "-f", "/usr/local/etc/haproxy/haproxy.cfg", "-db"]