Configured Database for localhost and prod.