docker-compose-healthcheck
How to wait for container X before starting Y using docker-compose healthcheck (by peter-evans)
wait-for
./wait-for is a script to wait for another service to become available. (by eficode)
docker-compose-healthcheck | wait-for | |
---|---|---|
4 | 2 | |
703 | 1,875 | |
- | 0.8% | |
0.0 | 6.7 | |
over 2 years ago | 3 days ago | |
Shell | ||
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docker-compose-healthcheck
Posts with mentions or reviews of docker-compose-healthcheck.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-27.
-
Show HN: Is_ready – Wait for many services to become available – 0 Dependencies
With Docker compose, there is a more idiomatic way to achieve this with zero dependencies using healthchecks[0]. Works well!
I used wait_for_it.sh for the purposes exemplified in the OP until I found healtchecks could be used instead.
[0] https://github.com/peter-evans/docker-compose-healthcheck
-
Weird Tailscale issue when using Tailscale within Docker containers
You can add your own in the compose file I think. https://github.com/peter-evans/docker-compose-healthcheck
-
Is there a way to run a docker container after another one?
Add a health check for the rabbitmq container and a depends_on clause which states that the rabbitmq container needs to be healthy. Here's an example with postgres: https://github.com/peter-evans/docker-compose-healthcheck
-
Cant figure out how to convert 1 line of docker run into docker compose 1 to 1.
look @ https://github.com/peter-evans/docker-compose-healthcheck/blob/master/docker-compose.yml
wait-for
Posts with mentions or reviews of wait-for.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-27.
- Show HN: Is_ready – Wait for many services to become available – 0 Dependencies
-
Docker healthcheck question
To wait for a a service to be available you have to use a script like wait for : https://github.com/eficode/wait-for
What are some alternatives?
When comparing docker-compose-healthcheck and wait-for you can also consider the following projects:
prometheus - A docker-compose stack for Prometheus monitoring
xconfig - xconfig is an automation tool to set up X11 for GhostBSD
compose-postgres - Postgresql & pgadmin4 powered by compose
wait-until - A zero dependency Bash script that waits until a command of your choosing has run successfully.
konga - More than just another GUI to Kong Admin API
PfSense-Auto-Reboot - A simple script to reboot you pfsense box while there is not internet.
kong-pongo - Tooling to run plugin tests with Kong and Kong Enterprise
bin - 🗑️ Scripts that I use in my daily basics