I got my container running in a loop since the wait script in entrypoint.sh tries to connect at :5432 and not to $SQL_PORT