mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
address review
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
cac797114a
commit
a56fbb6045
5 changed files with 25 additions and 13 deletions
|
|
@ -1,10 +1,16 @@
|
|||
FROM haproxy:2.8.2-alpine3.18
|
||||
|
||||
USER root
|
||||
RUN apk add --no-cache ca-certificates tzdata bind-tools
|
||||
ENV NEXTCLOUD_HOST nextcloud-aio-nextcloud
|
||||
RUN set -ex; \
|
||||
apk add --no-cache \
|
||||
ca-certificates \
|
||||
tzdata \
|
||||
bind-tools; \
|
||||
chmod -R 777 /tmp
|
||||
|
||||
COPY --chmod=775 start.sh /start.sh
|
||||
COPY --chmod=664 haproxy.cfg /conf/haproxy.cfg
|
||||
COPY --chmod=775 *.sh /
|
||||
COPY --chmod=664 haproxy.cfg /haproxy.cfg
|
||||
|
||||
ENTRYPOINT ["/start.sh"]
|
||||
HEALTHCHECK CMD [ "$(wget http://127.0.0.1:2375/v1.41/_ping -qO -)" = "OK" ] || exit 1
|
||||
HEALTHCHECK CMD /healthcheck.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue