Skip to content

Documentation missing envs for Monograph container #78

@ibaraki-douji

Description

@ibaraki-douji

After upgrading to beta.8, and set the monograph to version 1.2.7 (it also happen in 1.2.6 but not 1.2.5) the healthcheck where failing with a connection refused.
For information i'm on K8S, the healthcheck are done outside the container, so it was failing.
With the official docker-compose, if it request localhost, the healthcheck might work, but maybe not outside connections

Looking at the code inside the monograph repo, i saw there where two envs vars missing :

  • NODE_ENV which should be production and not empty as bun detects it as a "developpment server".
  • HOST which should be 0.0.0.0 and not localhost.

After changing thoses vars, the healthcheck worked again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions