Use localhost for postgres connection