If the database $POSTGRES_NAME hasn't been restored in the db container, the wait loop in bin/local-docker-entrypoint.sh will never exit, even though the db container is alive and well. So we need to wait for the postgres database, which is there by default.
If the database $POSTGRES_NAME hasn't been restored in the
db
container, the wait loop inbin/local-docker-entrypoint.sh
will never exit, even though thedb
container is alive and well. So we need to wait for thepostgres
database, which is there by default.