Skip to content
This repository was archived by the owner on May 22, 2024. It is now read-only.
This repository was archived by the owner on May 22, 2024. It is now read-only.

Can't assign PORT without breaking HEALTHCHECK #22

Description

@ScrumpyJack

Love the simplicity here. Chosen this over Portus and others, as i prefer slim.

let port = process.env.PORT || 80;

If I assign PORT to something, i see that node listens on that port in the container, but the container's HEALTHCHECK fails as it's looking at PORT 80

HEALTHCHECK --interval=15s --timeout=3s CMD curl -f http://localhost/ || exit 1

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