static-file-server
static-file-server copied to clipboard
[Feature Request] healthcheck support
Hi static-file-server gurus,
I apologize in advance if I've missed existing support.
But it would be helpful with healthcheck support for container monitoring, examples of approaches from other Go projects; Prometheus and Traefik.
how about to put a singlefile named healthcheck? :)
Hi @yoyoys,
Thanks for taking the time to respond.
While that approach most likely would be sufficient for an external healthcheck, it's unfortunately insufficient for the builtin Docker healthcheck support. That healthcheck depends on image support via an executable inside the container returning an exit code 🤓