Open jcalfee opened 5 years ago
That is the database_ready
function. It must be returning an empty value.
database_ready() {
return_value=$(psql "dbname='$DB_NAME' user='$DB_USER' password='$DB_PASS' host='$DB_HOST' port='$DB_PORT'" -t -c "SELECT CASE WHEN EXISTS (SELECT 1 FR OM pg_roles WHERE rolname='$DB_USER') THEN 1 ELSE 0 END;" 2>/dev/null)
return $return_value
}
Just pulled from master, this error showed up during
docker-compose up
andlocalhost:8080
just hangs: