hotio / sonarr

Home Page:https://hotio.dev/containers/sonarr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Health check

hskrtich opened this issue · comments

Hi, can a health check for sonarr be added to the dockerfile?

See https://sonarr.tv/docs/api/#/Ping

https://docs.docker.com/engine/reference/builder/#healthcheck

HEALTHCHECK --start-period=30s --timeout=3s \
  curl -sSf http://127.0.0.1:8989/ping || exit 1