mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
add docker healthchecks to the docker images
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
c90ee1c4db
commit
1edb422f3d
10 changed files with 35 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
FROM alpine:3.16.2
|
||||
RUN apk add --update --no-cache lighttpd bash
|
||||
RUN apk add --update --no-cache lighttpd bash curl
|
||||
|
||||
RUN adduser -S www-data -G www-data
|
||||
RUN rm -rf /etc/lighttpd/lighttpd.conf
|
||||
|
|
@ -14,3 +14,5 @@ RUN chmod +x /start.sh
|
|||
USER www-data
|
||||
RUN mkdir -p /var/www/domaincheck/
|
||||
ENTRYPOINT ["/start.sh"]
|
||||
|
||||
HEALTHCHECK CMD curl -skfI localhost:$APACHE_PORT || exit 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue