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.
We can tell docker how to know when the containers are ready using [a healthcheck](https://docs.docker.com/engine/reference/builder/#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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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