Skip to content

Health Check feature #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jrichardsz opened this issue Jan 20, 2025 · 0 comments
Open

Health Check feature #156

jrichardsz opened this issue Jan 20, 2025 · 0 comments

Comments

@jrichardsz
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant