Some checks failed
continuous-integration/drone/push Build is failing
Currently vikunja has a `/health` endpoint that was added in #998. Docker/compose cannot utilize this feature since vikunja's docker image doesn't have curl/wget as it is pruned which is great for the image size. This PR adds a `healthcheck` command that send an http request to `/health` and exits with 0 or non-zero depending on the result. It also adds a `HEALTHCHECK` to the docker image which calls this automatically. Reviewed-on: #2856 Reviewed-by: konrad <k@knt.li> Co-authored-by: ScribblerCoder <omar2001.oh@gmail.com> Co-committed-by: ScribblerCoder <omar2001.oh@gmail.com>