fix for Dockerfile.production, and connect to postgres via localhost in test env (to get drone working)