[GH-ISSUE #297] wait-healthy script #259

Closed
opened 2026-02-26 06:31:48 +03:00 by kerem · 2 comments
Owner

Originally created by @modem7 on GitHub (Feb 19, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/297

Heya,

I realise it was only uploaded a few hours ago, but it's definitely something I've been looking for for a while.

The wait-healthy script usage, is this more of an internal develop script, or would one be able to put it in a docker-compose file (e.g. command: ["./wait-healthy.sh", "db"]?

Thanks and apologies!

Originally created by @modem7 on GitHub (Feb 19, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/297 Heya, I realise it was only uploaded a few hours ago, but it's definitely something I've been looking for for a while. The wait-healthy script usage, is this more of an internal develop script, or would one be able to put it in a docker-compose file (e.g. command: ["./wait-healthy.sh", "db"]? Thanks and apologies!
kerem 2026-02-26 06:31:48 +03:00
Author
Owner

@jc21 commented on GitHub (Feb 19, 2020):

This script is used in CI to make sure the test stack is up and ready before integration testing can begin. It's something you have to use outside of docker/docker-compose - it just queries the docker inspect output to check for the healthy flag that docker sets itself with the internal HEALTHCHECK command. So it only works on containers that have this configured.

<!-- gh-comment-id:588514794 --> @jc21 commented on GitHub (Feb 19, 2020): This script is used in CI to make sure the test stack is up and ready before integration testing can begin. It's something you have to use outside of docker/docker-compose - it just queries the `docker inspect` output to check for the healthy flag that docker sets itself with the internal `HEALTHCHECK` command. So it only works on containers that have this configured.
Author
Owner

@modem7 commented on GitHub (Feb 19, 2020):

Ahhah!

Thank you very much for explaining it! Appreciate it a lot!

<!-- gh-comment-id:588533765 --> @modem7 commented on GitHub (Feb 19, 2020): Ahhah! Thank you very much for explaining it! Appreciate it a lot!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#259
No description provided.