2023-08-24 14:27:02 +00:00
|
|
|
FROM haproxy:2.8.2-alpine3.18
|
2023-08-24 14:09:21 +02:00
|
|
|
|
2023-08-24 15:53:03 +02:00
|
|
|
USER root
|
2023-08-30 15:13:08 +02:00
|
|
|
ENV NEXTCLOUD_HOST nextcloud-aio-nextcloud
|
|
|
|
|
RUN set -ex; \
|
|
|
|
|
apk add --no-cache \
|
|
|
|
|
ca-certificates \
|
|
|
|
|
tzdata \
|
|
|
|
|
bind-tools; \
|
|
|
|
|
chmod -R 777 /tmp
|
2023-08-24 15:53:03 +02:00
|
|
|
|
2023-08-30 15:13:08 +02:00
|
|
|
COPY --chmod=775 *.sh /
|
|
|
|
|
COPY --chmod=664 haproxy.cfg /haproxy.cfg
|
2023-08-24 14:09:21 +02:00
|
|
|
|
2023-08-30 14:59:08 +02:00
|
|
|
ENTRYPOINT ["/start.sh"]
|
2023-08-30 15:13:08 +02:00
|
|
|
HEALTHCHECK CMD /healthcheck.sh
|
2023-08-30 15:14:29 +02:00
|
|
|
LABEL com.centurylinklabs.watchtower.enable="false"
|