mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2026-03-21 22:32:17 +00:00
Revert back to wget for Docker healthcheck
This commit is contained in:
parent
6ff06c2e92
commit
3d850eb121
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ RUN SITE=${SITE} npm run build:site
|
|||
FROM docker.io/library/alpine:latest
|
||||
ARG SITE
|
||||
|
||||
RUN apk add --no-cache lighttpd && \
|
||||
RUN apk add --no-cache lighttpd wget && \
|
||||
apk add --no-cache python3 py3-requests py3-itsdangerous py3-magic
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
apk add --no-cache py3-pip && \
|
||||
|
|
@ -53,7 +53,7 @@ ENV ZAMMAD_URL=https://ticket.z31.it
|
|||
ENV ZAMMAD_GROUP=""
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
|
||||
CMD curl -sSf http://127.0.0.1/ > /dev/null || exit 1
|
||||
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1/ || exit 1
|
||||
|
||||
# Reroute stdout to a new file descriptor so that Lighttpd can use it as the
|
||||
# access log. See http.conf and here:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue