Skip to content

healthcheck #50

@sabey

Description

@sabey

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Is there anyway to add a healthcheck? The webserver will randomly become unresponsive, yet there's no logs showing that any requests are being recieved, so I have no debug logs to provider either as to why this is the case.

Would it be possible to add a healthcheck so that the webserver is responsive? Right now I have to reload the docker image when requests fail.

Expected Behavior

No response

Steps To Reproduce

http server randomly stops responding to requests...

Environment

- OS:
Ubuntu 24.04.3 LTS
- How docker service was installed:
Docker 27.5.1 (Portainer / docker-compose)

CPU architecture

x86-64

Docker creation

version: '3.8'
services:
  nzbhydra2:
    image: lscr.io/linuxserver/nzbhydra2:latest
    container_name: nzbhydra2
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Vancouver
    volumes:
      - /x/config:/config
      - /x/nzb:/nzb
      - /x/torrents:/torrents
    ports:
      - 0.0.0.0:5076:5076
    restart: always

Container logs

no errors... shows http requests until they just all of a sudden stop appearing

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions