dev: postgres exporter starter script checks unix socket
Created by: uwedeportivo
addresses https://github.com/sourcegraph/sourcegraph/issues/9229
for macOS with PGHOST set to unix socket (some socket in /tmp) the logic in the starter script fails to adjust to host.docker.internal