Skip to content

Health Check feature #156

@jrichardsz

Description

@jrichardsz

Current Behavior

There is not a provided health check to be used with docker compose

Desired Behavior

Any strategy to perform a simple health check to know when the container is healthy and ready to work

Workaround

I created another image in which I installed

apt-get update && apt-get install -y netcat

The this health check can be used

    healthcheck: 
        test: nc 127.0.0.1 22 -z
        interval: 1s
        retries: 30   

Idea

If you can provide a simple http port like

/health

It would not be required the netcat installation

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