wait-for
docker-compose-healthcheck
wait-for | docker-compose-healthcheck | |
---|---|---|
2 | 4 | |
1,877 | 703 | |
0.3% | - | |
6.6 | 0.0 | |
6 days ago | over 2 years ago | |
Shell | ||
MIT License | MIT License |
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.
wait-for
- 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
docker-compose-healthcheck
-
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
What are some alternatives?
xconfig - xconfig is an automation tool to set up X11 for GhostBSD
prometheus - A docker-compose stack for Prometheus monitoring
wait-until - A zero dependency Bash script that waits until a command of your choosing has run successfully.
compose-postgres - Postgresql & pgadmin4 powered by compose
PfSense-Auto-Reboot - A simple script to reboot you pfsense box while there is not internet.
konga - More than just another GUI to Kong Admin API
bin - 🗑️ Scripts that I use in my daily basics
kong-pongo - Tooling to run plugin tests with Kong and Kong Enterprise
nautical-backup - A simple Docker volume backup tool.
devilbox - A modern Docker LAMP stack and MEAN stack for local development
chaos - Chaos is the pre-installation script which will deploy our configuration files and helper scripts to create a proper full-fleged "Desktop" experience.
tailscale - The easiest, most secure way to use WireGuard and 2FA.