[docker-compose] Also use wait-for-it script to ensure postresql dbs are up
While testing the docker-compose
environment on my personal laptop,
I encountered some database connection issues as some postgresql servers
were not yet up.
So as for RabbitMQ and Kafka, use the wait-for-it
script as its seems more
reliable to wait for network services to start.
Also add missing wait for postgres initialization in swh-listers-worker
container entrypoint.
Migrated from D1234 (view on Phabricator)