Skip to content

Healtcheck with custom listen-http #635

Closed
@Andersbiha

Description

@Andersbiha

I'm running Ntfy in a docker-compose setup with Traefik in front.

Upon upgrading from 1.31.0 to 2.0.1 I'm no longer able to access Ntfy through Traefik.

I've traced the issue down to the container health checks added in #555.
The health check doesn't take the listen-http setting into account, causing issues for those of us who's not running Ntfy on localhost:80.

This issue is easily fixed by either disabling the health check or overriding the default health check URL (See https://docs.docker.com/compose/compose-file/compose-file-v2/#healthcheck).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions