Come connettere postgresql fuori dal docker?

I want to update some info through sql, is that possible?
Please help me!!! Thanks :sob: :sob: :sob: