Generalized db-config to use localhost, will work for dev-server as well as local dev