added postgres configuration