adding postgres configuration for dev and prod