Is it possible to login into the postgres database inside the docker image?

Because in order to do that I need to log into Postgres and I don’t know the account information Discourse uses for that.