I have installed nocobase via docker image and it works fine. When installing it, I’ve selected postgresql as the underlying database of nocobase.
Now I’d like to write data into the main postgresql that is underlying nocobase via processes which are external to nocobase and I’m struggling to get this to work. I can’t log into that database via psql, although using the same login credential as in the docker-compose.yml that was used to install nocobase.
psql -d nocobase --username=nocobase --password
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: Peer authentication failed for user “nocobase”
postgresql tools such as pg admin also can’t find the database, showing no live servers.
How can I connect to the nocobase main postgresql database with external tools? For the avoidance of doubt, I am NOT looking to connect to an external postgresql database.
Thank you.