Add haproxy:haproxy user and update README

This commit is contained in:
Tristan committed 2022-06-06 10:34:42 +01:00
1 parent 19203811ec
commit f66601a418
2 files changed
+7 -4

No files matched your search

+3 -2
View File
@@ -37,6 +37,7 @@ RUN apt -q update && \
zlib1g && \
apt -qq -y --purge autoremove && \
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" ]