You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to get a healthcheck for the frontend container of librephotos but have run into an issue. It looks like the frontend image is built on halverneus/static-file-server, which in turn is built on scratch. This means it doesn't have curl or wget, which is what I typically use for my healthchecks to check http servers.
Hello-
I am attempting to get a healthcheck for the frontend container of librephotos but have run into an issue. It looks like the frontend image is built on halverneus/static-file-server, which in turn is built on scratch. This means it doesn't have
curl
orwget
, which is what I typically use for my healthchecks to check http servers.This means this doesn't work in my compose file:
or something like
I am wondering if a
HEALTHCHECK
can be added to the Dockerfile, since I don't see anyway to accomplish this using the docker-compose healthcheck vernacular. Here is one example on how to accomplish this with scratch based images.Another solution would be to bake in
wget
orcurl
in your image, but unless you had some other reason for it, I understand not wanting it in there.Thoughts?
The text was updated successfully, but these errors were encountered: