Closed
Description
https://hub.docker.com/_/postgres contains at least two instructions that tell to wait for DB to initialize successfully. These are hard to automate, because there are no instructions how to wait for it programmatically.
It would be nice is the instructions could at least confirm some of the best way to do this in docker-compose
https://stackoverflow.com/questions/35069027/docker-wait-for-postgresql-to-be-running