How to add mongodb service in application running inside cf?

喜夏-厌秋 提交于 2019-12-12 03:34:08

问题


I have deployed my application in cf running on vagrant machine.But my application requires mongodb .I don't know how to add.Can anyone please hep me with this.



rle0249@rle0249-Latitude-3450:~/CloudFoundry$ cf service-brokers Getting service brokers as admin...

name url
No service brokers found

Thanks


回答1:


Before you can provision a MongoDB service, or any other service, you need to have an appropriate service broker registered with CF. Service brokers can run anywhere, but are often BOSH-deployed along side CF and then registered to CF.

Unfortunately, I am not aware of any open-source MongoDB service brokers available for CF. There is a sample project that demonstrates building your own MongoDB service broker, but it is only a sample and is not intended to be production ready.



来源:https://stackoverflow.com/questions/35455266/how-to-add-mongodb-service-in-application-running-inside-cf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!