Add docker image entrypoint and quickstart sample

This commit is contained in:
Tristan 2022-06-06 09:28:47 +01:00
parent f27b8982af
commit 19203811ec
No known key found for this signature in database
GPG Key ID: BDDFC4A0651ACDE4
2 changed files with 9 additions and 1 deletions

View File

@ -38,3 +38,5 @@ RUN apt -q update && \
apt -qq -y --purge autoremove && \
apt -qq -y clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/cache/* /var/log/*
CMD [ "/usr/local/sbin/haproxy", "-W", "-db", "-f", "/etc/haproxy/haproxy.cfg" ]

View File

@ -2,7 +2,13 @@
Build scripts for HAProxy with QUIC
## Get started
**PROJECT STATUS**: Alpha, untested, probably unstable
## Quickstart
docker run -it -v /path/to/haproxy.cfg:/etc/haproxy/haproxy.cfg:ro registry.gitlab.com/mangadex-pub/haproxy:2.6-bullseye
## Build it
You will need the following dependencies (Debian/Ubuntu packages given as example):