I am running the AWS AMI from gitlab. I am trying to access the postgres database directly using psql. I thought I could just use the credentials in database.yml, since the rail
But this one does give you full access:
sudo -u gitlab-psql psql template1