Config local postgres

If I have postgres installed and running locally, and I don’t change any of the defaults in the gitlab.rb, will it install and run against my locally hosted instance? Because I think that’s what it’s doing. When I gitlab-ctl status, I don’t see the service listed. But all the properties in the config are commented out.

The reason this matters is I’m trying to upgrade and I’m getting a 502 and can’t find where the error is. My only clue is:

 2017-12-22_19:03:34.26340 could not connect to server: Permission denied
 2017-12-22_19:03:34.26341       Is the server running locally and accepting
 2017-12-22_19:03:34.26342       connections on Unix domain socket "/var/opt/gitlab/postgresql/.s.PGSQL.5432"?