ScribblerCoder a5cc5e3783
Some checks failed
continuous-integration/drone/push Build is failing
Add healthcheck command (#2856)
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>
2024-11-20 18:04:55 +00:00
..
2024-04-13 20:13:24 +02:00
2024-11-20 18:04:55 +00:00
2024-08-25 14:30:46 +00:00
2024-09-29 18:20:30 +02:00