Add haproxy:haproxy user and update README
This commit is contained in:
parent
19203811ec
commit
f66601a418
@ -37,6 +37,7 @@ RUN apt -q update && \
|
|||||||
zlib1g && \
|
zlib1g && \
|
||||||
apt -qq -y --purge autoremove && \
|
apt -qq -y --purge autoremove && \
|
||||||
apt -qq -y clean && \
|
apt -qq -y clean && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/cache/* /var/log/*
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/cache/* /var/log/* && \
|
||||||
|
groupadd "haproxy" && useradd -g "haproxy" "haproxy"
|
||||||
|
|
||||||
CMD [ "/usr/local/sbin/haproxy", "-W", "-db", "-f", "/etc/haproxy/haproxy.cfg" ]
|
CMD [ "/usr/local/sbin/haproxy", "-W", "-db", "-f", "/usr/local/etc/haproxy/haproxy.cfg" ]
|
||||||
|
@ -2,11 +2,13 @@
|
|||||||
|
|
||||||
Build scripts for HAProxy with QUIC
|
Build scripts for HAProxy with QUIC
|
||||||
|
|
||||||
**PROJECT STATUS**: Alpha, untested, probably unstable
|
**PROJECT STATUS: Alpha, __not exhaustively tested yet__**
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
docker run -it -v /path/to/haproxy.cfg:/etc/haproxy/haproxy.cfg:ro registry.gitlab.com/mangadex-pub/haproxy:2.6-bullseye
|
docker run -it \
|
||||||
|
-v /path/to/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro \
|
||||||
|
registry.gitlab.com/mangadex-pub/haproxy:2.6-bullseye
|
||||||
|
|
||||||
## Build it
|
## Build it
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user