Configure settings to use postgres