mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-04-17 13:47:00 -04:00
Signed-off-by: Erwan Hervé <erwan.herve@outlook.fr> Signed-off-by: Erwan Hervé <62173453+Erwan-loot@users.noreply.github.com> Co-authored-by: Simon L. <szaimen@e.mail.de>
29 lines
1010 B
Docker
29 lines
1010 B
Docker
# syntax=docker/dockerfile:latest
|
|
FROM haproxy:3.3.6-alpine
|
|
|
|
# hadolint ignore=DL3002
|
|
USER root
|
|
ENV NEXTCLOUD_HOST=nextcloud-aio-nextcloud
|
|
RUN set -ex; \
|
|
apk upgrade --no-cache -a; \
|
|
apk add --no-cache \
|
|
ca-certificates \
|
|
tzdata \
|
|
bash \
|
|
bind-tools; \
|
|
chmod -R 777 /tmp
|
|
|
|
COPY --chmod=775 *.sh /
|
|
COPY --chmod=664 haproxy.cfg /haproxy.cfg
|
|
|
|
ENTRYPOINT ["/start.sh"]
|
|
HEALTHCHECK CMD /healthcheck.sh
|
|
LABEL com.centurylinklabs.watchtower.enable="false" \
|
|
wud.watch="false" \
|
|
org.opencontainers.image.title="Docker Socket Proxy for Nextcloud AIO" \
|
|
org.opencontainers.image.description="HAProxy-based Docker socket proxy for Nextcloud All-in-One" \
|
|
org.opencontainers.image.url="https://github.com/nextcloud/all-in-one" \
|
|
org.opencontainers.image.source="https://github.com/nextcloud/all-in-one" \
|
|
org.opencontainers.image.vendor="Nextcloud" \
|
|
org.opencontainers.image.documentation="https://github.com/nextcloud/all-in-one/blob/main/readme.md"
|