add configuration for postgres db
add configuration for postgres db