Direct wget output in Docker healthcheck to stdout

wget's default behavior to download contents to a file is not always a
valid method to use as a Docker healthcheck, due to permission issues.
This circumvents any issues there by redirecting the healthcheck output
to stdout, which shouldn't cause any issues regardless of context.

Fixes #272
pull/278/head
Ben Busby 3 years ago
parent 1030118d0b
commit cb80c181a6
No known key found for this signature in database
GPG Key ID: 3B08611DF6E62ED2

@ -68,6 +68,6 @@ COPY whoogle.env .
EXPOSE $EXPOSE_PORT
HEALTHCHECK --interval=30s --timeout=5s \
CMD wget --no-verbose --tries=1 http://localhost:${EXPOSE_PORT}/ || exit 1
CMD wget -qO- --no-verbose --tries=1 http://localhost:${EXPOSE_PORT}/ || exit 1
CMD misc/tor/start-tor.sh & ./run

Loading…
Cancel
Save