DEV Community

Discussion on: Using Docker Compose Entrypoint To Check if Postgres is Running

Collapse
 
flaviorodr profile image
Flavio

Thanks. It is weird docker website has so little information about this. Control startup order is a big thing! For me at least.

Collapse
 
kellyjandrews profile image
Kelly Andrews

You probably want to use something like "healthcheck" now -
docs.docker.com/engine/reference/b...

Boot order is very important indeed!