mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
10 lines
295 B
Docker
10 lines
295 B
Docker
FROM haproxy:2.8.2-alpine3.18
|
|
|
|
USER root
|
|
RUN apk add --no-cache ca-certificates tzdata bind-tools
|
|
|
|
COPY --chmod=775 start.sh /start.sh
|
|
COPY --chmod=664 haproxy.cfg /conf/haproxy.cfg
|
|
|
|
ENTRYPOINT ["/start.sh"]
|
|
HEALTHCHECK CMD [ "$(wget http://127.0.0.1:2375/v1.41/_ping -qO -)" = "OK" ] || exit 1
|