improve some deails with docker-socket-proxy

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-08-24 16:18:03 +02:00
parent 53fae60c4e
commit c4fb5a0961
3 changed files with 7 additions and 3 deletions

View file

@ -26,7 +26,7 @@ ENV ALLOW_RESTARTS=1 \
NODES=0 \
PING=1 \
PLUGINS=0 \
POST=0 \
POST=1 \
SECRETS=0 \
SERVICES=0 \
SESSION=0 \
@ -39,3 +39,5 @@ ENV ALLOW_RESTARTS=1 \
COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
USER haproxy:root
HEALTHCHECK CMD nc -z 127.0.0.1 2375 || exit 1