Healthcheck not working
- 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