spring boot - Where does MongoDB for PCF Development Services store all data values? -
my current application using mongodb running on localhost default port 27017. web application reflect data stored in database. when push application cloud foundry, , bind mongo service, uses database. , how can view/access data being inputted. on local machine able use db.collection.find() , queries of data.
the data stored in cf mongo service. can check running inspecting values in vcap_services section of application environment:
cf env <app name>
in environment can see connection details, db should not accessible directly. connect db can use tunnel similar chisel or crowbar.
there chisel fork contains instructions on how connect cf services.
Comments
Post a Comment