db config to use postgres