config pg db in dev and test evn