iam4x / iam4x/bobarr

Healthcheck not working

Open
#173 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.7k
Forks
89
PR merge metrics
No merged PRs in 30d

Description

Hi :)

Thanks for this project, it is really promising !

I found an issue when I tried to add `traefik` on docker-compose to manage a reverse-proxy and add plex. It didn't work well because Docker healthcheck is not working :
```
docker inspect --format "{{json .State.Health }}" bobarr-web

{"Status":"starting","FailingStreak":1,"Log":[{"Start":"2020-12-24T13:16:43.736731731Z","End":"2020-12-24T13:16:43.862622808Z","ExitCode":1,"Output":"/bin/sh: curl: not found\n"}]}
```

It seems that node-alpine do not contains curl :/

As a workaround, I disabled healthcheck and it works :
```
web:
container_name: bobarr-web
image: iam4x/bobarr-web:latest
healthcheck:
disable: true
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the web service healthcheck in docker-compose and reproduce the reported docker inspect output for bobarr-web. Done means the healthcheck no longer fails because curl is unavailable and the service is reported healthy when used behind traefik.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
devops, infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.