Skip to content

HEALTHCHECK_ENDPOINT should change with the value of --address #1566

Open
@Congrool

Description

@Congrool

LocalAI version:

commit: a95bb05

Environment, CPU architecture, OS, and Version:

Describe the bug

When I use the --address option to use another port instead of 8080, docker healthcheck probe always fails beacause it still fetches the readyz on 8080 port.

It can work around if adding -e HEALTHCHECK_ENDPOINT=$MYADDR/readyz when docker run the container. But it seems that there's no document talking about this setting.

Expecting that either adding the instruction to doc, or making the HEALTHCHECK_ENDPOINT more automatic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconfirmedup for grabsTickets that no-one is currently working on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions