Skip to content

WhiteBoard WebSocket Server Container Image HealthCheck Port ignores Config #930

@gajanak

Description

@gajanak

The default image for the whiteboard server
ghcr.io/nextcloud-releases/whiteboard:stable

defines a health command
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3
CMD node -e "require('http').get('http://localhost:3002', (res) => { process.exit(res.statusCode === 200 ? 0 : 1) })"

If the Port is Changed with the configuration variable PORT - the check always fails.

Perhaps its possible to use the ENV Var PORT instead of 3200 ?

Thanks in advantages.

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