iam4x / bobarr

🍿 The all-in-one alternative for Sonarr, Radarr, Jackett... with a VPN and running in docker
MIT License
1.54k stars 88 forks source link

Fix Healthchecks #236

Closed lachlan2k closed 2 years ago

lachlan2k commented 2 years ago

Healthchecks currently fail because curl is not present in the node:14-alpine container by default.

$ docker inspect bobarr-api
{
    ...omittied...
    "State": {
    "Status": "running",
    ...omitted...
        "Health": {
            "Status": "unhealthy",
            "FailingStreak": 696,
            "Log": [{
                "Start": "2022-04-05T16:47:00.769414322+12:00",
                "End": "2022-04-05T16:47:00.815176505+12:00",
                "ExitCode": 1,
                "Output": "/bin/sh: curl: not found\n"
                },

This PR adds curl to the container to address this issue. The -s flag has also been added to curl to reduce chatter when viewing healthcheck output.

iam4x commented 2 years ago

Thank you very much 👍