Define container startup order; add healthchecks #3
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We can tell docker how to know when the containers are ready using a healthcheck.
Then, we can tell it which order the containers need to start in.
This could avoid potentially-confusing errors if e.g. if the php service is trying to connect the db before it's ready.
https://hub.docker.com/r/9gag/fpm-health-check/#!
https://github.com/renatomefi/php-fpm-healthcheck