mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +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
|
|
@ -19,6 +19,7 @@ RUN set -ex; \
|
|||
openssl \
|
||||
netcat \
|
||||
dpkg-dev \
|
||||
curl \
|
||||
; \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
|
@ -72,4 +73,6 @@ RUN echo "root:$(openssl rand -base64 12)" | chpasswd
|
|||
USER www-data
|
||||
|
||||
ENTRYPOINT ["start.sh"]
|
||||
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
|
||||
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
|
||||
|
||||
HEALTHCHECK CMD (curl -skfI localhost:8000 && curl -skfI localhost:$APACHE_PORT) || exit 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue